cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Curl question (form php and variables)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 1 Nov 2016 07:41:40 +0100 (CET)

On Mon, 31 Oct 2016, DannyTheGreat wrote:

> the url of the file is this http://www.armaholic.com/page.php?id=30431. The
> file is generated by click "submit" form.

That's probably the URL of the page with the form.

> <form method="post" action="http://www.armaholic.
> net/downloader.php?download_file=chili/addons/units/BTC-
> Militia-version-1.1.7z">

This 'action' URL in the <form> tag seen above specifies to where the POST
should be submitted and that's different than the one you used.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-users
FAQ:        https://curl.haxx.se/docs/faq.html
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-11-01