note 36375 added to function.imagecreatefromgif
| From: | josh at rn2 dot php dot net | Date: | Wed, 08 Oct 2003 00:36:41 +0000 |
| Subject: | note 36375 added to function.imagecreatefromgif | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-57982@lists.php.net to get a copy of this message | ||
I just installed gif2png on my server, and it took a little research on my part to figure out that
this...
passthru("$path/gif2png -O $image_path/image.gif")
will not work if safe mode is on. If you're on a shared server, it probably is. You don't
need to turn safe mode off, however, just set the safe_mode_exec_dir variable in your php.ini file
to the directory where you installed gif2png. Then you'll be able to execute the program from
your PHP script.
----
Manual Page -- http://www.php.net/manual/en/function.imagecreatefromgif.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+36375
Delete -- http://master.php.net/manage/user-notes.php?action=delete+36375&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+36375&report=yes
Search -- http://master.php.net/manage/user-notes.php