Re: exec in different directory where PHP is Installed

From: Date: Mon, 24 May 2010 19:11:31 +0000
Subject: Re: exec in different directory where PHP is Installed
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-305488@lists.php.net to get a copy of this message
loki wrote:
Hello, PHP is installed in c:\program files\php the PHP script are in network drive \\xxx.xxx.xxx.xxx\scriptdir\ in the PHP script, we try to launch the command @exec(...) with a executable located in c:\program files\ourexecutable\ it's not work :( but if we move the PHP script from \\xxx.xxx.xxx.xxx\scriptdir\ to c:\scriptdir\ then it's work !! everything work good EXCEPT the @EXEC command ... Safe mode in PHP is OFF ...
Hello, Can you show us the script? The first thing I'd do is call "is_file(\\xxx.xxx.xxx.xxx\scriptdir\foo.php)" ... are you doing that? Kevin Kinsey

« previous php.general (#305488) next »