Hello
I have this script:
<?php
header("Content-type: image/gif");
header("Pragma: no-cache");
header("Cache-Control: no-cache");
header("Cache-Control: no-store");
$txtstr = "STEREOTYPE";
$x_size = (strlen($txtstr) * 5)+2;
$y_size = 10;
$font = 1;
$im = imagecreate($x_size, $y_size); $black = ImageColorAllocate($im, 0,0,0);
$white = ImageColorAllocate($im, 255,255,255);
imagefill($im, 1, 1, $black);
imagestring($im, $font, 1, 1, $txtstr, $white);
ImageGif($im);
ImageDestroy($im);
?>
Warning: Unable to open temporary file in d:\webs\scripts.abusiness.dk\wwwroot\test.php on line 21
Thats the: ImageGif($im);
Here's some other facts:
I run this script on a win2k/IIS5, and thats the same locally. I use the exact same php3.ini file on the webserver as locally.
The following folders have "Everyone" "Full Control":
c:\temp
c:\tmp
c:\winnt\temp
c:\winnt\tmp
d:\webs\scripts.abusiness.dk\wwwroot\
I don't know where PHP puts this temporary file. Does anyone know it?
I know this question has been asked before, but I couldn't find an answer to it.