Posted by moxmormor on 08/10/06 16:01
> Are you sure about the file path ? try to add the complete path of the file,
> maybe with a if file_exists() to be sure...and print an error message if it
> doesn't exists.
Now I'm confused. When it executed the following script, the output was
'nonexistant'.
<?php
function billede()
{
if (!file_exists('hindenburg.gif'))
{
$bill = imageCreateFromGIF ('hindenburg.gif');
return $bill;
}
else
echo "nonexistant";
}
billede();
?>
However, when I changed 'hindenburg.gif' to
'moxmormor_org/htdocs/hindenburg.gif' it went blank again.
Navigation:
[Reply to this message]
|