PHP exec problem

From: Date: Tue, 24 Oct 2000 15:35:34 +0000
Subject: PHP exec problem
Groups: php.general 
Request: Send a blank email to php-general+get-21866@lists.php.net to get a copy of this message
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

« previous php.general (#21866) next »