|
||||||
| PHP Forum Use this forum to discuss all aspects of PHP Development. PHP is a server-side, cross-platform, HTML embedded scripting language that lets you create dynamic web pages. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
PHP Web Analytics
I am trying to write a PHP script that collects website data.
I am trying to write a function that checks if the referrer was a search engine, if it is it gets the search engine domain and the keywords used. Any tips? |
|
||||
|
Re: PHP Web Analytics
You'll need to use $_SERVER['HTTP_REFERER'] to determine that information. There is also a PHP class you can use or take ideas from located here: CReferrer (referer) - PHP Classes
__________________
Questions and Answers | Online News and Social Bookmarking | Code and Text Collaboration General Chat Forum |
|
|||
|
Re: PHP Web Analytics
Here is some of my code, does not seem to work though!
Any ideas? PHP Code:
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP Web Analytics Script | adzeds | PHP Forum | 4 | 10-25-2009 07:42 AM |
| PHP 5 and OOP | Jordan | PHP Tutorials | 11 | 09-22-2008 02:58 AM |
| PHP 4 end of life announcement | Jordan | News | 4 | 08-30-2007 10:55 AM |
All times are GMT -5. The time now is 09:27 AM.
Amrosama.cc
Arekbulski.cc
Debtboy.cc
Guest.cc
Jaan.cc
James.cc
Mathx.cc
Tsz.cc
Vswe.cc