|
Posted by steve on 10/13/01 11:26
| I guess the simplest way to find out what's going on is to note down the
| files that this isn't working for, and enter the corresponding URLs
| directly into your browser (i.e.
| http://example.com/image.php?ownerId=XXX&fileName=XXX...)
|
| However, comment out the imagejpeg() line, and put in some diagnostic
| output, i.e. echo out useful info at each stage of the script, to make
| sure variables are what you expect them to be, and that functions are
| being called successfully.
|
| e.g.:
| ...
| $fileData = @file_get_contents($filePath . $fileName);
| echo "file_get_contents() " .
| ($fileData) ? "success" : "failure";
|
| ...
| and so on...
actually, i have done those things...and the images it does this on are
hit-and-miss. meaning, that if i show a list of thumbnails on a page and hit
refresh on the browser a number of times, the files that show and don't show
will vary and not in some rational pattern...even though the images being
requested never change.
[Back to original message]
|