I can create a dir on my pc (xp and IIS) and write a file/jpeg to it. Here is the code I use to create it.
<?
umask(011);
mkdir('Temp', 0777);
?>
Works great on my PC but when I try to do this same thing on the web hosting server (www.fatcow.com) it doesn't work. I get no error message but do not see a Temp dir via FTP.
If I take a dir that already exist - like images - and try to create a file with fopen() I get an error that my permissions are not hight enough. This is on the web server.
How do I go about changing the permissions of a dir that I create on the Web server. I can create the file via FTP but again when I try to write to it I get the permissions error.
When I call the help desk at fatcow they tell me to ftp in and right click on the new dir and change the permissons to execute and write. I do that but still I cannot write to that dir.
I do not know unix.
Any help would be greatly appreciated.