|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-01-19 01:48 UTC] stasonis at mcs dot suffolk dot edu
[2005-01-20 23:51 UTC] tony2001@php.net
[2005-01-21 09:10 UTC] derick@php.net
[2005-01-21 11:54 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 14:00:01 2025 UTC |
Description: ------------ I tried using imagegif to display an image and it gave the error: Warning: imagegif() [function.imagegif]: Unable to open temporary file in /home/stasonis/public_html/image.php on line 14 After testing the tmpfile function I realized this did not work either. Both the directory the script resides in and /tmp have rwx permissions for everyone, so I don't think it is a permissions issue Reproduce code: --------------- $temp = tmpfile(); if(!$temp){ echo "Failure"; return; } echo "Success"; Expected result: ---------------- Success to be echoed Actual result: -------------- Failure Echoed