![]() |
|
|
|
| ||||||
|
Welcome to the The ProgrammersTalk Community forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
![]() |
![]() | | LinkBack | Thread Tools | Display Modes | ![]() |
| |||
| Uploading and writing to xml Code: http://www.jeroenwijering.com/?item=Flash_MP3_Player im using ^ this JW Flash MP3 player in my script.. Would i be able to allow a registered user to upload a MP3 file once at a time and have it write to a .xml playlist without deleting the other tracks?? |
| |
| ||||
| yes, of course! |
| The Following User Says Thank You to HelloWorld For This Useful Post: | ||
raptor5099 (11-12-2007) | ||
| |||
| thank you but could you direct me a little more than just a yes.. explain a litlle more or point me in the right direction to find my answer cuz im stumped on this right now edit: i have an upload form im just not sure the proper write/ read part to make it add to the playlist |
| ||||
| You may want to take a look at this thread: How to parse XML in PHP? PHP has functions to read and write: fread() - PHP: fread - Manual fwrite() - PHP: fwrite - Manual Hope that's helpful ![]() |
| The Following User Says Thank You to HelloWorld For This Useful Post: | ||
raptor5099 (11-12-2007) | ||
| |||
| how can i limit users to only uploading MP3's Code: if (!($uploaded_type=="audio/mp3")) {
echo "You may only upload MP3 files.<br>";
$ok=0;
} |
![]() |
| Thread Tools | |
| Display Modes | |
| |