FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


very simple PHP code to get search query string





Lacoste
it will be useful when you need to know or collect search query strings, that brought you user

Code:
if (preg_match("/[?|&][q|p]=([a-z+]+)/i", $_SERVER["HTTP_REFERER"], $match)) {
        $q = urldecode($match[1]);
}
bdoneck
Or you could just check your web stats through cPanel
Related topics
Simple PHP forum code needed!
Help With Simple PHP Code Snipit
mySQL Query/PHP code - get the highest value...
What is a good or bad php code?
Simple PHP Navigation
Show PHP Code
another simple php request
Actionscript 2.0 - add line break to string?
How to build simple PHP upload form
I need help with a very simple php code :(
need help in a simple php register script based on flat file
simple php problem, please help...
PHP CODE INCLUSION
I need a VERY simple php script
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.