This is a discussion on Re: Form Auto Submission within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Make sure that you have the Absolute URI for the ACTION parameter Example: <FORM ACTION="http://altavista.com/...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Make sure that you have the Absolute URI for the ACTION parameter
Example: <FORM ACTION="http://altavista.com/web/results/search.asp" METHOD="post" NAME="search"> <B>Search String</B><BR> <INPUT NAME="SearchString"><BR> <INPUT TYPE="submit" NAME="GoSearch" VALUE="Search"> </P> </FORM> Make sure that the textfield name is the same as the variable that the search engine looks at for the Search Paramters IE. If it is looking for $Search, change SearchString to Search John Rock wrote: > I am new to PHP and would like to know if this is doable. > > External website has a search feature I will like to access and parse the > results. The site uses the following html code for the form. > > FORM ACTION="search.asp" METHOD="post" NAME="search"> > <B>Search String</B><BR> > <INPUT NAME="SearchString"><BR> > <INPUT TYPE="submit" NAME="GoSearch" VALUE="Search"> </P> > </FORM> > > > Simple enough. I need to populate the SearchString and send it over to the > ASP > script. Any way to do this? > > Thanks for any help, > > John > > |