cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: help with cURL + PHP

From: David Colter <dolan2go_at_yahoo.com>
Date: Mon, 3 Nov 2014 19:25:14 -0500

Mladen,

> https://raz.zav-zdruzenje.si/infocenter/Search.aspx <https://raz.zav-zdruzenje.si/infocenter/Search.aspx>
> in this form i would like to fill up first and second input, but with your example looks like this is not possible for remote forms.

When I look at the link you provided, I see 4 inputs. The 4th input requires the characters from the image above to be submitted with the form. Your code is only submitting 2, while the server wants 4 postfields. The captcha image characters will likely be impossible to detect and submit.

You could search for another method to obtain the results you want. It might require logging in, which can be done with cURL, but will take some time to learn and code.

David

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2014-11-04