You are here: Re: imagecreatefromgif not working « PHP Programming Language « IT news, forums, messages
Re: imagecreatefromgif not working

Posted by Bob Bedford on 08/10/06 16:44

"moxmormor" <moxmormor@gmail.com> a ιcrit dans le message de news:
1155228023.747726.202260@b28g2000cwb.googlegroups.com...
>> You shouldn't user a path like this, instead use server variables in
>> order
>> to be sure:
>> change moxmormor_org/htdocs/hindenburg.gif
>> to $_SERVER['DOCUMENT_ROOT'].'/hindenburg.gif';
>>
>> also be very carefull, on Linux the filesystem is case sensitive, so
>> hindenburg.gif <> hindenburg.GIF
>> Bob
>
> Thank you, but it's still nonexistant. :(
try a echo $_SERVER['DOCUMENT_ROOT'].'/hindenburg.gif' to be sure, maybe
your config root is wrong (pointing to the wrong file). Also to be sure, put
everything in a var:

$filename = $_SERVER['DOCUMENT_ROOT'].'/hindenburg.gif';
echo $filename;
if(file_exists($filename))
echo 'file exists';
else
echo 'file doesnt exist';

Bob

Are you on linux or XP ?

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация