CyberScout.Net!   Cyberscout.Net Home Cyberscout.Net Search Contact Cyberscout.Net Cyberscout.Net Web Directory Disclaimer!
 
 
   
Cyberscout.Net Home
Cyberscout.Net Library
Cyberscout.Net Software
Cyberscout.Net Games
Contact Cyberscout.Net
     
 
Google
   
 
CyberScout.Net Web Master Guide!
 
I must admit first that I am not a professional web developer. My own site is practically the first site that I have created and am maintaining it too. When I published CyberScout.Net all I had on the site was about Hardware and Networking. In a very short time I realised that there can be much more that a web site can offer and of course there can be many things that the web master can get in return such as the ads on the site. I got interested and worked more on it, the ads started to bring in some extra $$$ too. But again soon I realised that I need to keep the complete record of the visitor. Why does a web master need the user record? 1001 reasons for that, once you start to get traffic at your site, there is a lot to take care of. You need to maintain the logs because you have need to see the user activity on your site. I first started to use free utilities and services like counters etc from web. Then I came to know that it is not so hard to get this stuff done by yourself without giving the authority of maintaining your logs to one third party. If you do it yourself, you will have your privacy and secrecy in your own hands. But for this you need two things. One is that you should have a little bit knowledge of PHP and MySQL and the second is that your web host should be able to support these both things at least. Using PHP you can either create the log files in html format or you can make a database table to keep your data on it. I have it in database and am pretty much comfortable with it. I am planning to write a small tutorial for PHP and MySQL basics soon too but right now assuming that you have the minimum required knowledge of PHP and MySQL, I would not go deeply into the introductions and all that stuff. In the next lines you will see the predefined variables that you can use to monitor your visitor’s activities on your site.
PHP Predefined Variables
'PHP_SELF'
This is the filename of the script that is currently being executed relative to the root directory. For example, $_SERVER['PHP_SELF'] in a script from the web url http://cyberscout.net/example.php/ would be /example.php.
'SERVER_ADDR'
Gets the IP address of the server under which the current script is executing.
'SERVER_NAME'
Gets the name of the server host under which the current script is being executed. If the current script is running over a virtual host, this will get the value defined for that virtual host.
‘SERVER_SOFTWARE’
Gets server identification string, given in the headers when responding to requests.
'SERVER_PROTOCOL'
Gets the name and revision of the information protocol via which the page was requested.
'REQUEST_METHOD'
To get which request method was used to access the page, for example 'GET', 'HEAD', 'POST' etc.
‘REQUEST_TIME’
Gets the timestamp of the start of the request.
<<<Prev Home Next>>>
 
 
 

 
Cyber Home Cyber Liberary Cyber Soft Cyber Fun Cyber Games Cyber Networking Guide Cyber Web Directory
Network Security Guide Free Proxy Lists Cyber IP & Browser Check Webmaster Guide
Make Money Online Cyber Contact Cyber Disclaimer
By CyberScout.Net

Error processing your request: Duplicate entry '431432' for key 1