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? 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); 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
Archived
This topic is now archived and is closed to further replies.