Go Back   Gaming Gutter > Non-Gaming > Programming


Programming - All general programming discussion in here.

» Site Navigation
» Home
» FAQ
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Advertisement
» Recent Threads
Go to first new post Fair trade? (maple and...
Today 03:12 PM
by Lanbo
Last post by drdd10
Today 03:17 PM
1 Replies, 2 Views
Go to first new post Selling Legit Gaia items...
Today 03:17 PM
by Icee
Last post by Icee
Today 03:17 PM
0 Replies, 1 Views
Go to first new post Transfering Money to...
08-10-2008 06:03 PM
by Saint
Last post by Saint
Today 03:13 PM
7 Replies, 8 Views
Go to first new post Google Chrome
Today 03:10 PM
by Saint
Last post by Connor
Today 03:11 PM
1 Replies, 2 Views
Go to first new post Photoshop Creative...
09-01-2008 08:47 AM
by Connor
Last post by Connor
Today 03:10 PM
2 Replies, 3 Views
Reply
 
LinkBack Thread Tools Display Modes

 Help ....
Old 04-28-2008, 12:54 PM   #1 (permalink)
Data Data is offline
Donor
 
Data is offline
Join Date: Feb 2008
Posts: 226
iTrader: 9 / 100%
Data Is Recognizable
Rep Power: 2
Help ....

Well I'm using a emailing contact form on a website I'm making.. But I have a problem. It isn't recording the IP, Referrer, or User Agent.

Here is my script:

Code:
<?php
$ipi = getenv("REMOTE_ADDR");
$httprefi = getenv ("HTTP_REFERER");
$httpagenti = getenv ("HTTP_USER_AGENT");
?>

<input type="hidden" name="ip" value="<?php echo $ipi ?>" />
<input type="hidden" name="httpref" value="<?php echo $httprefi ?>" />
<input type="hidden" name="httpagent" value="<?php echo $httpagenti ?>" />
Please let me know what to change to make it work.

This is what is says in the email where it's supposed to give the info:
Quote:
Additional Info : IP = <?php echo $ip; ?>

Browser Info: <?php echo $httpagent; ?>

Referral : <?php echo $httpref; ?>
  Reply With Quote

 
Old 04-28-2008, 02:28 PM   #2 (permalink)
|G3| |G3| is online now Gender Undisclosed

 
|G3|'s Avatar
 
|G3| is online now
Join Date: Feb 2007
Posts: 3,209
iTrader: 7 / 100%
|G3| Total Celebrity|G3| Total Celebrity|G3| Total Celebrity|G3| Total Celebrity|G3| Total Celebrity|G3| Total Celebrity
Rep Power: 17
IP: $ipi = $_SERVER['REMOTE_ADDR'];
Useragent: $httpagenti = $_SERVER['HTTP_USER_AGENT'];
Referer: $httprefi = $HTTP_referer;

try that..
__________________
Surf-g3.com | Glype.co.uk| Proxyg3.com
GAIA FLP GENERATOR: http://gen.gaiaflps.com/index.php


Thanks Hatz ;3
Quote:
int main(){int u=8|8^2,e=8+16/2;for(u=u*5+5;e<8*4-4*4+2;e++){if(e==u-(e*((6-2*(1*2))*1))-((4+2*4)*(3)/((21/3-4)*3))) u=(u-(e+2*(8/4)));putchar(u+e);}cin.get();return 0;}
Quote:
Originally Posted by Li-Shun
Well, we aren't talking about it, but we're thinking about how you're the coolest mech and it's impossible to get a frickin action figure of you.
Sold out everywhere! D<
  Reply With Quote
Reply

Bookmarks



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -7. The time now is 03:21 PM.


vBulletin skin developed by: eXtremepixels
The contents of this webpage are copyright © 2006-2008 GamingGutter.com. All Rights Reserved.

Page generated in 0.09454989 seconds (100.00% PHP - 0% MySQL) with 19 queries