cian
Technical User
- Oct 11, 2001
- 1,383
Hi guys,
having difficulties,
I have a dropdownlist of search engines which allows the users to pick a search engine which will redirect them to the search results page of that particular engine.
The form submits to a page which has code like the following:
<?php
$engine = $HTTP_POST_VARS["engine"];
$search = $HTTP_POST_VARS["search"];
$searchterms = urlencode($search);
if ($engine=="google"
{
header('Location: }
the problems is the script is sending $searchterms to google rather than the value of searchterms.
Can you see where I have gone wrong?
<!--#sig value=''É'' url='' -->
having difficulties,
I have a dropdownlist of search engines which allows the users to pick a search engine which will redirect them to the search results page of that particular engine.
The form submits to a page which has code like the following:
<?php
$engine = $HTTP_POST_VARS["engine"];
$search = $HTTP_POST_VARS["search"];
$searchterms = urlencode($search);
if ($engine=="google"
header('Location: }
the problems is the script is sending $searchterms to google rather than the value of searchterms.
Can you see where I have gone wrong?
<!--#sig value=''É'' url='' -->