PhpDig.net

Go Back   PhpDig.net > General Forums > Coding & Tutorials

Reply
 
Thread Tools
Old 05-22-2004, 02:16 PM   #1
griffinmt
Green Mole
 
Join Date: May 2004
Location: Michigan
Posts: 9
Client IP address

Just started to use PHP with a small application and found a need to log some transaction information along with the ip address of the client system. Is there a function or system variable that provides this?

Thanks
griffinmt is offline   Reply With Quote
Old 05-22-2004, 03:32 PM   #2
griffinmt
Green Mole
 
Join Date: May 2004
Location: Michigan
Posts: 9
OK - Figured it out doing some snooping.
$_SERVER['REMOTE_ADDR'] was what I was looking for.

Where can I find a list of ALL such variables?
griffinmt is offline   Reply With Quote
Old 05-22-2004, 04:48 PM   #3
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
Welcome to the forum, griffinmt!

If you're looking for a list of all variables used in the phpdig code, check this out. If you're looking for a list of reserved variables that PHP uses, check this out.

Hope it helps.
vinyl-junkie is offline   Reply With Quote
Old 05-23-2004, 11:30 AM   #4
griffinmt
Green Mole
 
Join Date: May 2004
Location: Michigan
Posts: 9
That was usefull to me.

Thanks
griffinmt is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Client question: intelligent ranking lukemack How-to Forum 5 11-07-2005 12:40 PM
Excellent results using Putty SSH client and nohup command claudiomet How-to Forum 2 09-30-2004 03:17 PM
User from IP 193.251.141.231 Charter IPs, SEs, & UAs 0 03-04-2004 10:37 AM
Problem spidering sites at in .txt over 20 address joshuag200 Troubleshooting 3 01-30-2004 09:13 PM
phpdig using vhost(ip) shinji How-to Forum 1 01-24-2004 10:14 PM


All times are GMT -8. The time now is 11:45 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.