[PHP] Re: Writing Files

2002-09-03 Thread Richard Lynch
How do you write files so that theyre chmoded 777 by default. the folders theyre written to are 0777 but the files aren't. so i cant delete or modify the files through PHP, i have to first chmod them with FTP, which takes ages. Do http://php.net/umask before you create them. Include the

[PHP] Re: writing files

2001-09-25 Thread Chris Lee
'/images/image1.png' is 'root/images/image1.png' 'images/image1.png' is 'webroot/images/image1.png' you are using the first, unless your something wierd on your first box, like chroot, or safe_mode, or something else Ive never used, I dont know why the first server is acting the way it is. --