PDA

View Full Version : Last post link.



nets
18-11-2005, 11:25 AM
I've made a last post link for my signature.
How it works:
When my signature image is viewed it checks the IP, and if the IP is mine it stores the URL of the referring page (the page which is showing the signature) in a text file.
The link in my signature goes to a page which puts the link stored in the text file (the url to the last page I viewed my signature image on), in a meta redirect script making the page go to the last page which referred me to my signature image.
I haven't really checked that it is working properly yet, but I'll try to later.

Sygon
18-11-2005, 11:28 AM
Cool, it works im going to try and make one do you mind if i attempt?

nets
18-11-2005, 11:32 AM
I don't really mind tbh.

Sygon
18-11-2005, 11:36 AM
Ok i know about the meta refresh but what about the ip validator?

nets
18-11-2005, 11:40 AM
(I'm not sure if any of this is working correctly).
I wrote this for the IP part.


$theirip = $_SERVER['REMOTE_ADDR'];
if
($theirip == "Ip goes here")
{
echo "Hey! <br />";
echo "You've got the correct IP";
};

Sygon
18-11-2005, 12:04 PM
Ok date and hits would be nice, but your siggy hits everytime yo refresh

Dan Williamson
19-11-2005, 02:12 PM
Wow thats pretty good :)

- Dan

Want to hide these adverts? Register an account for free!