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
'/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.
--
2 matches
Mail list logo