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; Make sure that you have the Absolute URI for the ACTION parameter Example: <FORM ACTION="http://altavista.com/...


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-10-2003
Billy
 
Posts: n/a
Default Re: Form Auto Submission

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
>
>


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB 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 10:19 PM.


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