This is a discussion on Re: Form Auto Submission within the alt.comp.lang.php forums, part of the PHP Programming Forums category; "John Rock" <johnrock88@msn.com> wrote in message > FORM ACTION="search.asp" METHOD=&...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
"John Rock" <johnrock88@msn.com> wrote in message
> 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? On your site you should have a form that submits $value. When receiving the input of the form, you create a link like this: $link = "http://www.externalWebsite.com/search.asp?GoSearch=Search&SearchString=$value"; Then you use fopen to open the other site. However, if the code on the other end excludes GET requests and only allows POST requests, you may have some trouble. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|