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] Quote 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] Quote Link to comment https://forums.phpfreaks.com/topic/15261-header-with-a-urlencode/#findComment-61673 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.