View Full Version : Upload form

11-02-2009, 10:33 PM
I am currently making a game website, however i need to make an upload form in PHP, i have a basic knowledge using the post method to post it intoa table in mysql, however this time i need to make a form that contains the following:

- a login form so only i can upload games
- somehow upload the flash game (.swf format) (i think this involves uploading the link to the game but im not sure? if so how would i upload the game with the form to get the upload link?
- an image icon for the game (which i am guessing is the same as above)

i know how to do the game name and details, upload date and time, just not the three bullet points above.

can you help and maybe attach an example script?

thanks. Adam :)

11-02-2009, 11:47 PM
as for restricted access to the form if it is just for you you coud use htaccess to restrict otherwise a login / user manager section. dw has that built in or check the tutorials here if you want to learn how.
upload scripts are plenty on the web,
uploading a file and image icon is one step using a multiole upload form
uploading the rest (links + info) need to be entered into a database

11-03-2009, 04:22 AM
here is one that you might use from Olaf lederer


11-03-2009, 02:57 PM
thanks for help :)