View Full Version : Song Upload/Song info into XML
Zaxza
March 18th, 2006, 07:11 AM
Basically, i want to make a form where you can upload a song to a particular folder and enter its info into an xml file
like this:
http://i32.photobucket.com/albums/d12/maiverock/screen.jpg
Could you also show me how to make each entry editable and deletable?
thanks in advance...
Zaxza
March 18th, 2006, 07:35 AM
Can anyone help?
bwh2
March 18th, 2006, 03:05 PM
well, you would probably be better off entering the info into a mysql db, but i suppose xml would work as well. search both the forums and google for...
1) php upload scripts
2) sql INSERT, UPDATE, DELETE (if you go w/ the msyql route)
3) php file writing (if you go w/ the xml route
you will probably find on these forums that people will be more responsive if you try first rather than just asking someone to show you how it's done. all of your questions have already been discussed countless times on the forum, so searching should result in numerous helpful results.
Zaxza
March 18th, 2006, 04:18 PM
Thanks, i'm sorry about asking, but i've only just started php and still dont understand the code. I tried to find a tutorial that could help. I have managed an upload script but dont hava a clue how to make it do everything i want. Cheers for the help.
codemonkeypete
March 18th, 2006, 05:21 PM
bwh2 is pretty much on the mark. U need to send the variables(tile/artist/file) to mysql. From there, u can use php to echo out xml syntax for your flash file.
Ok, I'm doing this at work at the moment, take a look - its what u wanted to do, just need to change some variables ;)
http://codemonkey.headjam.com.au/admin/admin.php
heres the flash file: http://codemonkey.headjam.com.au/admin/xmlparse.html
heres what the xml looks like:
http://codemonkey.headjam.com.au/admin/xml.php
(view source)
Zaxza
March 18th, 2006, 06:33 PM
thats really cool. i'm working on an admin section for my band site. The other members of my band dont know any html so i thought i'd make some nice form for them to edit the site with. I hope for them to be able to upload songs for my Flash xml player.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.