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 problem, please help...
Simple PHP Navigation
Show PHP Code
Simple PHP forum code needed!
PHP CODE INCLUSION
I need a VERY simple php script
another simple php request
mySQL Query/PHP code - get the highest value...
Actionscript 2.0 - add line break to string?
What is a good or bad php code?
How to build simple PHP upload form
Help With Simple PHP Code Snipit
I need help with a very simple php code :(
need help in a simple php register script based on flat file
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.