# web developers enter

**URL:** <https://forums.speedlife.net/t/web-developers-enter/52701>\
**Category:** NYSpeed Off Topic\
**Created:** [August 5, 2008, 6:43am UTC](https://forums.speedlife.net/t/web-developers-enter/52701 "2008-08-05T06:43:40Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Locutus](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/locutus/32/7574_2.png) [@Locutus](https://forums.speedlife.net/u/Locutus)\
**Post date:** [August 5, 2008, 6:43am UTC](https://forums.speedlife.net/t/web-developers-enter/52701/1 "2008-08-05T06:43:40Z")

</div>

I want to use a tracker on my website… essentially i want to be able to see which ip’s are accessing the website and when. anyone use any products that they can recommend?

---

<div class="post-metadata">

**Author:** ![Nikuk](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/nikuk/32/7254_2.png) [@Nikuk](https://forums.speedlife.net/u/Nikuk)\
**Post date:** [August 5, 2008, 6:45am UTC](https://forums.speedlife.net/t/web-developers-enter/52701/2 "2008-08-05T06:45:25Z")

</div>

[BaitCar.org](http://BaitCar.org)?

---

<div class="post-metadata">

**Author:** ![LZ1](https://avatars.discourse-cdn.com/v4/letter/l/7ab992/32.png) [@LZ1](https://forums.speedlife.net/u/LZ1)\
**Post date:** [August 5, 2008, 6:45am UTC](https://forums.speedlife.net/t/web-developers-enter/52701/3 "2008-08-05T06:45:37Z")

</div>

IIS? [http://www.smartertools.com/SmarterStats/Free-Web-Analytics.aspx](http://www.smartertools.com/SmarterStats/Free-Web-Analytics.aspx)

---

<div class="post-metadata">

**Author:** ![Locutus](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/locutus/32/7574_2.png) [@Locutus](https://forums.speedlife.net/u/Locutus)\
**Post date:** [August 5, 2008, 6:48am UTC](https://forums.speedlife.net/t/web-developers-enter/52701/4 "2008-08-05T06:48:37Z")

</div>

this is a website that i just want to put come pictures on… i want to see who is accessing the files.

---

<div class="post-metadata">

**Author:** ![chino](https://avatars.discourse-cdn.com/v4/letter/c/bcef8e/32.png) [@chino](https://forums.speedlife.net/u/chino)\
**Post date:** [August 5, 2008, 6:50am UTC](https://forums.speedlife.net/t/web-developers-enter/52701/5 "2008-08-05T06:50:54Z")

</div>

are you running the web server? if not and they don’t allow you to install any stat app’s, you can use google analytics, it’s free

---

<div class="post-metadata">

**Author:** ![Locutus](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/locutus/32/7574_2.png) [@Locutus](https://forums.speedlife.net/u/Locutus)\
**Post date:** [August 5, 2008, 6:51am UTC](https://forums.speedlife.net/t/web-developers-enter/52701/6 "2008-08-05T06:51:45Z")

</div>

> [@chino](#):
>
> are you running the web server? if not and they don’t allow you to install any stat app’s, you can use google analytics, it’s free

i’ve used this on another site that I have… but i want to know when and the ip… not just from which location… . can google analytics do this?

---

<div class="post-metadata">

**Author:** ![Locutus](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/locutus/32/7574_2.png) [@Locutus](https://forums.speedlife.net/u/Locutus)\
**Post date:** [August 5, 2008, 6:54am UTC](https://forums.speedlife.net/t/web-developers-enter/52701/7 "2008-08-05T06:54:29Z")

</div>

> [@chino](#):
>
> are you running the web server? if not and they don’t allow you to install any stat app’s, you can use google analytics, it’s free

no, webserver is someplace else

---

<div class="post-metadata">

**Author:** ![tpgsr](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/tpgsr/32/7374_2.png) [@tpgsr](https://forums.speedlife.net/u/tpgsr)\
**Post date:** [August 5, 2008, 6:56am UTC](https://forums.speedlife.net/t/web-developers-enter/52701/8 "2008-08-05T06:56:44Z")

</div>

just use php with a sql table to catch and log all of the ip’s and at what time. Assign each individual session a line on the table and track their movements through the site.

---

<div class="post-metadata">

**Author:** ![Locutus](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/locutus/32/7574_2.png) [@Locutus](https://forums.speedlife.net/u/Locutus)\
**Post date:** [August 5, 2008, 6:59am UTC](https://forums.speedlife.net/t/web-developers-enter/52701/9 "2008-08-05T06:59:58Z")

</div>

> [@tpgsr](#):
>
> just use php with a sql table to catch and log all of the ip’s and at what time. Assign each individual session a line on the table and track their movements through the site.

wayyyy too much for me to try and figure out… any easy solutions?

---

<div class="post-metadata">

**Author:** ![DrDoS](https://avatars.discourse-cdn.com/v4/letter/d/ccd318/32.png) [@DrDoS](https://forums.speedlife.net/u/DrDoS)\
**Post date:** [August 5, 2008, 7:01am UTC](https://forums.speedlife.net/t/web-developers-enter/52701/10 "2008-08-05T07:01:18Z")

</div>

try this

mysql

```auto

 CREATE TABLE `myVisitors`.`myVisits` (
`ip` BIGINT NOT NULL ,
`visits` INT UNSIGNED NOT NULL ,
`visitTime` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ,
UNIQUE (
`ip`
)
) ENGINE = MEMORY 

```

php

```auto
&lt;?php
	$dbHost = 'localhost';	// database host
	$dbName = 'myVisitors';	// database name
	$dbUN	= 'dbUN'; // database user name
	$dbPW	= 'dbPW'; // database password
	$ip = ip2long($_SERVER['REMOTE_ADDR']);		
	$dbcon = mysql_pconnect($dbHost,$dbUN,$dbPW)
	$sql = 'INSERT INTO ' . $dbName . '.myVisits SET ip=\'' . $ip . '\' ON DUPLICATE KEY visits=visits+1;';
	$DBQ	= mysql_query($sql);
	echo (!$DBQ) ? "Error with adding IP. &lt;br/&gt; Error:" . mysql_error() : "Added IP";
	mysql_close();
?&gt;

```

---

<div class="post-metadata">

**Author:** ![Locutus](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/locutus/32/7574_2.png) [@Locutus](https://forums.speedlife.net/u/Locutus)\
**Post date:** [August 5, 2008, 7:02am UTC](https://forums.speedlife.net/t/web-developers-enter/52701/11 "2008-08-05T07:02:33Z")

</div>

where do i put that stuff?? in the index.htm

im not a programmer…

---

<div class="post-metadata">

**Author:** ![DrDoS](https://avatars.discourse-cdn.com/v4/letter/d/ccd318/32.png) [@DrDoS](https://forums.speedlife.net/u/DrDoS)\
**Post date:** [August 5, 2008, 7:04am UTC](https://forums.speedlife.net/t/web-developers-enter/52701/12 "2008-08-05T07:04:13Z")

</div>

> [@Locutus](#):
>
> where do i put that stuff?? in the index.htm
> 
> im not a programmer…

fist run the MySQL Query string inside the mysql server if you have it  
then put that code in a index.php file on the top.  
It will create a memory table for scalability.  
The memory will not always be there for example if you reboot it will be gone.

So to save the memory simply create a cron script to pull the data and insert into another table with the same schema but non memory type.

---

<div class="post-metadata">

**Author:** ![Locutus](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/locutus/32/7574_2.png) [@Locutus](https://forums.speedlife.net/u/Locutus)\
**Post date:** [August 5, 2008, 7:16am UTC](https://forums.speedlife.net/t/web-developers-enter/52701/13 "2008-08-05T07:16:06Z")

</div>

> [@DrDoS](#):
>
> fist run the MySQL Query string inside the mysql server if you have it  
> then put that code in a index.php file on the top.  
> It will create a memory table for scalability.  
> The memory will not always be there for example if you reboot it will be gone.
> 
> So to save the memory simply create a cron script to pull the data and insert into another table with the same schema but non memory type.

how about when i set up the site, you just log in and do this for me?

---

<div class="post-metadata">

**Author:** ![DrDoS](https://avatars.discourse-cdn.com/v4/letter/d/ccd318/32.png) [@DrDoS](https://forums.speedlife.net/u/DrDoS)\
**Post date:** [August 5, 2008, 7:26am UTC](https://forums.speedlife.net/t/web-developers-enter/52701/14 "2008-08-05T07:26:35Z")

</div>

> [@Locutus](#):
>
> how about when i set up the site, you just log in and do this for me?

buy me lunch and we have a deal

---

<div class="post-metadata">

**Author:** ![Locutus](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/locutus/32/7574_2.png) [@Locutus](https://forums.speedlife.net/u/Locutus)\
**Post date:** [August 5, 2008, 7:30am UTC](https://forums.speedlife.net/t/web-developers-enter/52701/15 "2008-08-05T07:30:18Z")

</div>

sweet. deal. rubricant, but this man a taco.
