Hi, On Sat, 6 Jan 2001 abarguia@mail.belgavillage.be wrote:
Within a php script the following line does nothing:
system ("/Absolute-path-to/convert -geometry 150x150 /Absolute-path-to/PHP_image.gif /path-to/PHP_scaledimage.gif")
Have you disabled safe_mode in your PHP Ini-file? If not you'll only be
able to Exec, System, PassThru and Popen Executables residing in
PHP_SAFE_MODE_EXEC_DIR which is a #define from php.h (hence set at compile
time).
You can either say "safe_mode = 0" (which will defeat some of the security
measures PHP provides) or simply edit/use PHP_SAFE_MODE_EXEC_DIR. You
better do the latter.
Visit the PHP Documentation at www.php.net for more information,
especially http://www.php.net/manual/phpfi2.html#safemode.
Regards, -Sebastian
--
Sebastian Fallert |"The maximum length of a function
Get PGP Key available at public | is inversely proportional to the
Keyservers. | complexity and indentation level
Get PGP Fingerprint/Key or Geekcode | of that funtion."
fingering sfaller@linux01.gwdg.de | (Linux Kernel Documentation)