Page 1 of 1

geting errors from fopen()

Posted: Thu Feb 03, 2005 10:17 am
by magicrobotmonkey
Here is the scenario. I have a PHP file which when run creates an image on the disk. I have another php file which has the controls and the display for the image. IT work thus. The user sets the controls and hits submit. It submits to itself. Upon submitting, it fopen()s the image file, passing it all this control stuff as GET. The image file then write the image. The control page closes it and displays the image. (it knows the filename because it told the image file the filename)

This was not my design and I can't change. I am trying to troubleshoot it though, because the image-maker file keeps breaking and I have no Idea how to get any errors out of it because its only freking fopened. Any ideas?

Posted: Thu Feb 03, 2005 10:22 am
by feyd
have the image script write out debug data into the fopen stream?