Originally posted by bobmurphy
someone wants me to design a site for mobile phone content - ringtones, gifs etc. I was thinking of doing the site in xhtml and php, storing the content in directories on the server and storing the locations of these files in a mysql database which the site would be able to access - would this be a reasonable approach - i presume that it's not possible to store the files (midi and gif) themselves in the actuall database.
Also i would consider getting a preprogrammed script if one existed - has anyone heard of one. Would anyone hazzard a guess as to how long it would take to build a site like this - they say they only want something simple, with about 100 each of midi files and gifs.
[font=trebuchet ms]Why use XHTML? It has no advantages on the Web over HTML 4.01 Strict. If you're using MySQL (I don't know about other databases, but I'd imagine it's relatively the same), you can save binary files (MIDIs and images) to the database directly, so you won't have to upload all of the files in seperate directories, you can just upload them directly to the database. The type of field is called "BLOB." You might try phpNuke as a content management system, which I believe is also free.
Edit: I just searched for phpNuke and it costs $10. Most hosts come free with phpNuke, though, or some other CMS (content management system) pre-installed.[/font]