Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

php ip logging

Name: Anonymous 2009-06-25 12:01

hi /prog/

first tiem here.

i have a php script which logs all ip that visits my website. now i haev one page which if you enter it logs your ip, but i want it to do that on all other pages too, like also if people view a image on my site then it will log ip.

how can i do this? can i set it in htaccess?

oh and im using a free web host

Name: Anonymous 2009-06-27 2:17

Good fucking god. The unsigned char I posted was a 1x1 fucking transparent gif that, if you had half a fucking brain you could deduce would allow you to embed in your pages, allowing your fruity script to appear in any godforsaken page you want, thus getting their IP address. From there all you do is connect to your database and log the piece of shit. It's pretty much universal, can be done from Perl, PHP, Awk, or even Bash. Don't do it from LISP, though, because I don't want you to gay up a good language.

I know I've been away from /prog/ for about a year, but has it really gotten this bad?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List