![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| PHP PHP for some can be one of the hardest website programming codes, so do you need help on your PHP script, if it is php4, php5 or lower this is the place for you for any PHP help. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| Job wrote: > which gives me some very basic info, but only for the particular page > this code is on. > I am wondering how to get more information about a visitor, like > country With help of the ip number, you can always get the country/isp with quereing data from a relevant database. $_SERVER['REMOTE_ADDR'] >, screensize, resolution etc. No, PHP is a serverside script language, and do not know anything about the remote client, more than what is sent with the browser data. > Can this be achieved in PHP, or do > you need other languages for that? You need to use client side scripts like javascript and somehow make it to send the data to your server. > Also, the $_SERVER['HTTP_UA_OS'] > doesn't show if a windows machine visited. The $_SERVER['HTTP_USER_AGENT'] usually will include the operating system of the machine where the browser is run. Some people has made their browser to not send this information. > Can or do you need to combine with javascript? Usually you need the client to submit the data to the server, by using form-tags. //Aho | |||
|
| Advertisements |
| | #3 | ||
| MK PitStop Member | Me either, lol. I have seen a counter though using PHP, you save a .txt file that contains a number, 0, then use PHP to read the file, add one to the value and save it then display the value on the page. Look here: A simple hitcounter | ||
| | |
| Featured Websites | ||||
|
![]() |
| Tags: counter, start, visitor |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| counter reload | Richard Summers | PHP | 3 | 07-01-2007 2:38 PM |
| Free Counter? | Tinkerbell | Ebay Technical Questions | 2 | 05-30-2007 12:37 AM |
| counter help . | spot516 | Gaming Questions | 2 | 11-04-2006 2:47 PM |
| Not getting enough visitor to your site | roxxy | Search Engine Optimization | 1 | 11-03-2006 5:14 PM |
| Counter Strike | Cam | The Games | 1 | 08-29-2006 12:27 AM |
| Featured Websites | ||||
|