This Question is Possibly Answered

1 "correct" answer available (8 pts) 15 "helpful" answers available (5 pts)
1 Replies Last post: Dec 5, 2009 3:31 PM by Duke  
jteplitz602 Level 1 1 posts since
Dec 5, 2009
Currently Being Moderated

Dec 5, 2009 1:25 PM

Filling in <option> tags with cURL

Hi I am pretty new to cURL and I understand how to fill in a <form> tag, but I was wondering if there was any way to select a speciefic <option> tag value inside of an <select> tag. For instance if I had this:

<select id="termIdSelect" name="termId" style="visibility: visible;">

<option value="">Select</option>
<option value="1">First Choice</option>
<option value="2">Second Choice</option>
</select>

If I wanted to write a php script with cURL that would select the option value equal to one and then echo out the the html of the page afterwards, how would I do that? Thanks/
Duke BlackBelt 294 posts since
Oct 17, 2007
Currently Being Moderated
1. Dec 5, 2009 3:31 PM in response to: jteplitz602
Re: Filling in <option> tags with cURL

You are asking at the wrong site.  This site is for Curl, cURL is at http://curl.haxx.se

More Like This

  • Retrieving data ...