I need to post data to ASP site using php curl from my website.
The ASP site is http://www.hotfrog.com.au/AddYourBusinessSingle.aspx
For this point I approached like below
Crawled the webpage html source from that website using PHP curl to maintain cookies & sessions
From that source asp hidden variable values extracted
Prepared post string with required form fields
And posted that data to target ASP site url using PHP curl but response is that page form information without entry details and even its not shows validation messages from curl response for non entry fields.
For this process maintained same values for CURLOPT_USERAGENT, CURLOPT_COOKIEJAR, CURLOPT_COOKIEFILE
The ASP site required form fields like this below
ctl00$contentSection$CompanyDetailsControl$txtBusinessName
ctl00$contentSection$CompanyDetailsControl$txtSuburb
are them to be posted directly or there any encode needed for these field names before posting to target site by PHP curl
Can anyone have solution for this solution or any other approaches for ASP sites by php curl?