Re: Form Auto Submission

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=&...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-03-2003
lawrence
 
Posts: n/a
Default Re: Form Auto Submission

"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.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:14 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0