scarhand Posted February 26, 2009 Share Posted February 26, 2009 how would i do this? i want to track visitors to an html page with PHP. i have seen other scripts do this before, but i don't know how they do it. Quote Link to comment https://forums.phpfreaks.com/topic/147049-solved-tracking-visits-to-html-pages-with-php/ Share on other sites More sharing options...
Maq Posted February 26, 2009 Share Posted February 26, 2009 Do you have a database set up to handle this? Or better yet, have you tried anything? There are many threads oh phpfreaks related to this and many tutorials online. I'm sure you can find something, come back with a specific question(s) and we can help you easier. Quote Link to comment https://forums.phpfreaks.com/topic/147049-solved-tracking-visits-to-html-pages-with-php/#findComment-772001 Share on other sites More sharing options...
scarhand Posted February 26, 2009 Author Share Posted February 26, 2009 Do you have a database set up to handle this? Or better yet, have you tried anything? There are many threads oh phpfreaks related to this and many tutorials online. I'm sure you can find something, come back with a specific question(s) and we can help you easier. I know how to track php pages with php code within the pages, but I want to track html pages (that obviously can not use php code inside of them). If you could point me in the right direction, I have searched google and have found nothing. Quote Link to comment https://forums.phpfreaks.com/topic/147049-solved-tracking-visits-to-html-pages-with-php/#findComment-772012 Share on other sites More sharing options...
premiso Posted February 26, 2009 Share Posted February 26, 2009 Create an image script that runs what you need for tracking, then displays a transparent png or gif image. Include this on each page you want to track and viola, you have tracking. Quote Link to comment https://forums.phpfreaks.com/topic/147049-solved-tracking-visits-to-html-pages-with-php/#findComment-772030 Share on other sites More sharing options...
scarhand Posted February 26, 2009 Author Share Posted February 26, 2009 Create an image script that runs what you need for tracking, then displays a transparent png or gif image. Include this on each page you want to track and viola, you have tracking. <3 Quote Link to comment https://forums.phpfreaks.com/topic/147049-solved-tracking-visits-to-html-pages-with-php/#findComment-772081 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.