hansman Posted July 21, 2006 Share Posted July 21, 2006 with this code, it leads me to my own site, i want it to search google, the search box name is 'input[code]<? header ("Location: <a href=\"http://www.google.com/search?hl=en&q=".urlencode($_GET['input'])."\">");?>[/code] Link to comment https://forums.phpfreaks.com/topic/15261-header-with-a-urlencode/ Share on other sites More sharing options...
king arthur Posted July 21, 2006 Share Posted July 21, 2006 Try[code]<? header ("Location: http://www.google.com/search?hl=en&q=".urlencode($_GET['input']));?>[/code] Link to comment https://forums.phpfreaks.com/topic/15261-header-with-a-urlencode/#findComment-61673 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.