Staredit Network

Staredit Network -> Computers and Technical -> PHP Signature [Tutorial]
Report, edit, etc...Posted by r[s]t on 2005-10-07 at 17:00:20
how about u let us dl the sig?
Report, edit, etc...Posted by RexyRex on 2005-10-08 at 02:04:09
No, Clokr_, file($_SERVER['HTTP_REFERER']) grabs the the HTML (somehow) from the page that loaded it and uses a regular expression to steal the "Users reading this topic" data. He then inserts your screen name and IP to a database.

Or something along those lines. If he did what you said, how do you think he grabbed your screen name in the first place? I doubt he manually enters them.
Report, edit, etc...Posted by synd][cate on 2005-10-09 at 21:27:25
Rexy is correct, the source html of the page that requested the image is used by the script to associate the ip with the person that is viewing the thread. I will post up the source code in the OP.
Report, edit, etc...Posted by RexyRex on 2005-10-11 at 00:41:36
I'm still wondering why you don't just grab the username from the top of the page. closedeyes.gif
I like the array work (I have trouble with them sad.gif), but the listing of the IP records was unecessary. Watch the members flip that you have their IP address. wink.gif
Report, edit, etc...Posted by synd][cate on 2005-10-11 at 01:02:21
You cannot grab the name from the top of the page because the php parser is not logged in as you, it grabs the page as an anonymous user (from my computer). To grab the username from the top of the page it would require a malicious client side script which is not possible through an image.

The only thing the parser knows is the ip that is requesting the image and the page it was requested from.. also it is not possible to gain access to your cookies through a image because the image is hosted off server. Only scripts on the site in which the cookies are from will have access to such.
Next Page (2)