URL Parameter
| From: | Danilo Meles | Date: | Thu, 03 Aug 2000 05:25:22 +0000 |
| Subject: | URL Parameter | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-1484@lists.php.net to get a copy of this message | ||
HI Folk's
How could I pass a URL parameter to a header function as above:
<?
$url=urlencode($palavra);
function conta($busca){
if($busca=="Zeek"){
header("Location: http://busca.zeek.com.br/busca/busca.cfm?p=$url");
}
elseif($busca=="Cade"){
header("Location: http://busca.cade.com.br/scripts/engine.exe?p1=$url");
}
}
?>
<?echo conta($busca);?>
Thank you all
Danilo Meles