sugan Posted January 15, 2008 Share Posted January 15, 2008 Hi,i want to upload flash game file into the database and download the file from the database and display the downloaded games to play.How is it possible?Pls help!Regards,sugan Link to comment Share on other sites More sharing options...
emicha Posted January 15, 2008 Share Posted January 15, 2008 It's not a big deal to upload a flash. Check if the extension is ".swf" and then write the url in the DB. If you use multipart/form-data you can upload any file. Link to comment Share on other sites More sharing options...
Synook Posted January 15, 2008 Share Posted January 15, 2008 Look up functions such as move_uploaded_file() and glob(). Link to comment Share on other sites More sharing options...
justsomeguy Posted January 15, 2008 Share Posted January 15, 2008 You can also get the file data with file_get_contents and save the binary data in the database instead of a URL. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.