Re: PHP exec problem

From: Date: Thu, 26 Oct 2000 04:06:18 +0000
Subject: Re: PHP exec problem
Groups: php.general 
Request: Send a blank email to php-general+get-22037@lists.php.net to get a copy of this message
use exec(escapeshellcmd("C'es...")... --- Ben van Mol <ben.vanmol@student.kuleuven.ac.be> wrote: > Hi, > > I have problems with executing a program with an > argument that can > contain things like '. > My code looks like this: > > exec ("title -t '$title' -full", $output); > > Here the variable $title can for instance be "C'est > arrivé près de chez > vous". Is there a solution to prevent failure caused > by the ' ? > > Thanx > > > Ben > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: > php-general-unsubscribe@lists.php.net > For additional commands, e-mail: > php-general-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > ===== To Find Out More About Me : http://mukul.tsx.org/ __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/

« previous php.general (#22037) next »