>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 optional 0777 value for the parameter to any functions that accept it. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php