Northern Flame Posted January 3, 2008 Share Posted January 3, 2008 I am going to add a feature on my website that will allow the user to create a custom music player with custom music, the music player will get the data from an xml file, each user that requests it, will have his own xml file, username.xml, I know how to do all that I have just mentioned. Heres my problem, the xml file needs to be writable so that whenever the user adds or deletes a song, I can just transfer the data to the xml file. How can I make the xml file writable upon creation so that my script can update the xml data easily when the user adds or deletes a song? Link to comment https://forums.phpfreaks.com/topic/84254-solved-editing-chmod-upon-creation-of-file/ Share on other sites More sharing options...
rajivgonsalves Posted January 3, 2008 Share Posted January 3, 2008 check out the chmod command in php http://php.net/chmod Link to comment https://forums.phpfreaks.com/topic/84254-solved-editing-chmod-upon-creation-of-file/#findComment-429093 Share on other sites More sharing options...
Northern Flame Posted January 3, 2008 Author Share Posted January 3, 2008 thanks rajivgonsalves! thats exactly what I wanted! Link to comment https://forums.phpfreaks.com/topic/84254-solved-editing-chmod-upon-creation-of-file/#findComment-429098 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.