I just created a functional generator, that generates the embed code for a custom "Flash Mp3 Player". Three files are used: 1 HTML, and 2 PHP, and they're hosted in a writable (CH MOD 777) folder, on a Linux server. The "
Index.html" has an actual XML playlist in the form that can be edited by the user. Once the user submits that, it goes to "
prot01.php", which writes it to a file on the server, with a unique name (i.e.,
12-m2512-e12th) that has the date and minute in it. And then, that same filename is sent to "
prot02.php", where it's displayed in the embed code. I'm still new to writing in PHP, and would like to know some ways that I can improve the function of this generator. It has a 2% failure rate as it is right now. Feel free to test it on my site.
index.html
prot01.php
prot02.php