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

curl-and-php

Curl using PHP redirection

From: Chandar.V.Rao <chandarvr_at_gmail.com>
Date: Mon, 1 Jun 2009 17:47:48 +0530

Hi
Is it possible to get the url after i submit the authentication credentials.
Because i am getting the same login page returned when i try to give curl
command.
generaly when i login from the browser to the interface if the credentials
are wrong it returns to the login page with some query strings like

http://ipadaddres/loginpage.hrml?authfail=0
or
http://ipadaddres/loginpage.hrml?authfail=1
or
http://ipadaddres/loginpage.hrml?authfail=2
or
http://ipadaddres/loginpage.hrml?authfail=3

Is it possible to get this url so that i can pinpoint the validation error.

-- 
With Best Regards
Chandar.V.Rao
9884045588/9003174152

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2009-06-01