mSQL Page Log 1.0 PHP script

SPONSORED LINKS

    Specification

  • Version: 1.0
  • File size: 0 KB
  • File name: id=51
  • Last update:
  • Platform: Windows / Linux / BSD / Solaris
  • Language: PHP
  • Price:Freeware
  • Company: Rob Fisher (View more)

mSQL Page Log 1.0 script description:



mSQL Page Log 1.0 is a PHP script for Snippets scripts design by Rob Fisher. It runs on following operating system: Windows / Linux / BSD / Solaris.
mSQL Page Log logs hits to any page which includes it.

Publisher review:
mSQL Page Log logs hits to any page which includes it. This script is intended to be include()d at the end of a page, just before the tag. It appends a footer stating your name, the number of hits to the page, the time of the last hit and the date when the page was last updated. It also creates a link to the W3C HTML validator, so you are always only one click away from validating any page on your site. To use my script, you'll need to create a php3 database using the command "msqladmin create php3". (No quotes.) then create a table with the following commands: CREATE TABLE log ( fname CHAR(128), hits INT, last_hit INT )g CREATE UNIQUE INDEX idx ON log(fname) g As you can see, this is a much more spare form of access logging than that built into PHP/FI, recording only the page name, the amount of times that page has been hit, and the date and time of the last hit. I don't need the extra information that PHP/FI logs, and keeping it builds up huge mSQL tables. If you want to record more data, it's not difficult to change this script. If you don't want to lose those hits you've worked so hard to acquire, when this script checks for hits to a page and finds none, it looks to see if an old PHP/FI access log exists for that page, and, if so, takes the number of hits and the last access from the correct table, moving that data into its own database. If you're going to check for old PHP/FI access logs, you need to assign the variable $UID to the UID you gave when initialising the phpfi database. If you don't want this check to be carried out, set the $check variable = false or remove the appropriate code.
Operating system:
Windows / Linux / BSD / Solaris

Related script downloads:

Latest script and internet news

Samsung launched the Premium Music Hub

Samsung launched the Premium Music Hub

Samsung finally gives consumers multiple audio streaming countries promised a while. Premium Music Hub allows users access to over 19 million songs, along with other useful functions.

Posted on: 30 May 2012 13:02 by A. Brown

This could be the first photos of iPhone 5

This could be the first photos of iPhone 5

IPhone\'s case came online in a few pictures that confirm rumors of a larger screen. This could be the first photos of the next iPhone, but nothing is really safe to Apple announcement.

Posted on: 30 May 2012 12:58 by A. Brown

IE 10 for Windows 8, comes with Adobe Flash support

IE 10 for Windows 8, comes with Adobe Flash support

After criticism received at Metro version of Internet Explorer 10 , initially offered no support for Adobe Flash technology, Microsoft has taken measures to correct this problem by working directly with Adobe to integrate the necessary components into the

Posted on: 25 May 2012 10:36 by A. Brown

Windows 8: boot to fast to furious

Windows 8: boot to fast to furious

Last year began to circulate on the Internet videos where Windows 8 systems boot in 7 seconds. Unfortunately, from this performance derives some problems.

Posted on: 25 May 2012 07:28 by A. Brown

SPREAD THE WORD

User Rating

mSQL Page Log
Rating: 2.0 out of 5
Based on 1 ratings. 1 user reviews.

  • Currently 2.00 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5