IceDragon Posted July 29, 2008 Share Posted July 29, 2008 I want to add a google search form to my website which would also record the keywords that are searched by visitors.. How do I do that? Quote Link to comment https://forums.phpfreaks.com/topic/117242-google-search-vith-keywords-recording/ Share on other sites More sharing options...
ignace Posted July 29, 2008 Share Posted July 29, 2008 <form action="googleit.php" method="post" .. <input type="text" name="keyword" ... googleit.php // assuming $_GET was filtered and validated $keyword = $_GET['keyword']; // write to db ... // refer to google search header("Location: http://www.google.com/search?q=" . $keyword); Quote Link to comment https://forums.phpfreaks.com/topic/117242-google-search-vith-keywords-recording/#findComment-603093 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.