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 #6
(04-20-2014, 02:25 AM)vampireclanz Wrote: Try With The <form action="xxx.mysite.com/aaaa/dir/uploads.php" method="post" Still Won't work . Or i Should Put <form action="xxx.mysite.com/aaaa/dir/" method="post" ? Sorry Bad English .

See what I was saying was that you need to know the correct argument(s) you have to send to the script in order for it to work.

So if the script had:
PHP Code:
$userfile_name = $_FILES['image']['name'];
Then I would have to send my file with it's name equal to "image". Like so:
Code:
<input type="file" name="image">
So if you want to upload a file, you'll have to figure out the correct name that the script is looking for. Try what I described in my earlier post in order to find this information.

(04-20-2014, 02:25 AM)Duubz Wrote: As for the form action, it should remain empty.

<form action=""
If the request was coming from the script itself, then yes. But since OP is trying to remotely upload a file via an uploader already in place on a site he does not have write access to, he will need to specify the "action" as the address to the script (E.X. http://heteroequality.com/sekret/upload.php).

Reply





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