Something that seems curious about this check
Code:
if (is_writable("C:\hosting\webhost4life\member\zorger\fpdf\starchart.png")) {
echo "is_writable";
} else {
echo " not writable";
}
Is you are checking a file, not the directory itself.
For anyone that stumbles on this thread and wants to know how to set permissions, read the FAQ:
http://p2p.wrox.com/topic.asp?TOPIC_ID=11962
: )
Rich
::::::::::::::::::::::::::::::::::::::::::
The Spicy Peanut Project
http://www.spicypeanut.net
::::::::::::::::::::::::::::::::::::::::::