Page 1 of 1

Link Spy

Posted: Mon Nov 28, 2005 11:38 pm
by nickman013
Hello,

Some of you may have heard of IMChaos Link Spy, well basically it posts the screen name of the person that clicked on the link, and it posts it on a table. I would like to make my own simple table. I got the screenname from the person using a AIM thing. My link to the page is http://www.mysite.com/page.php?sn=SCREENNAME , Now I just need to know how to post it onto a table and save.

Thank You.

Posted: Mon Nov 28, 2005 11:42 pm
by josh
How to post it into a mysql table?

http://www.php.net/mysql
Please elaborate

Posted: Mon Nov 28, 2005 11:44 pm
by nickman013
:oops:
I dont have mySQL hosting.

Posted: Mon Nov 28, 2005 11:50 pm
by josh
Well you could write the screenames to a text file, with one screename per line.

http://www.php.net/fwrite
is the documentation for creating files, you'll want to use fopen() with the mode "a" for append (since you'll be adding a line to the file)

The file() command ( http://www.php.net/file ) will let you load an array of screenames out of the file


Good luck