You are here: POSTing a form programatically with cURL « PHP Language « IT news, forums, messages
POSTing a form programatically with cURL

Posted by Grey Alien on 07/12/07 07:43

Apologies for the cross post. I am quite desperate and do not know which
ng would be the most appropriate.

I am trying to programatically POST an ASP form, to allow me to log on
to a site programatically.

<form name="aspnetForm" method="post" action="Default.aspx"
id="aspnetForm">
<input name="_ct99:Content:UsrName" type="text"
id="_ct99_Content_UsrName" />
<input name="_ct99:Content:Pwd" type="password"
id="_ct99_Content_Pwd" />
<input type="submit" name="_ct99:Content:btnLogon" value="Logon"
id="_ct99_Content_btnLogon" />
<input id="_ct99_Content_SavePwd" type="checkbox"
name="_ct99:Content:SavePwd" /></p>
</form>


Could anyone please specify the data I should pass with the
CURLOPT_POSTFIELDS flag option (i.e. passed to curl_easy_setopt()) ?
I have not been succesful so far in trying to log on.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация