Re: Page Views
Sorry, this is just something I setup back in the day when I had my own personal webpage. So I don't have any existing code I can share or access. I can give you a quick rundown though:
Set up an htaccess file so you can use folders eg website.com/ebay/auction_id to access a PHP page. On that PHP page, have it spit out the item description. In the PHP code, have it log the IP address, hostmask, browser, timestamp, etc into a MySQL database. Then create an admin page that displays the database in a user friendly format.
For images, do the same as above, but instead of having it spit out the item description, use PHP to modify the header to send out an image, and then use PHP to spit out the image in question.
If I remember right, it takes an hour or so to setup. Hope this helps.
|