Web Hosting Talk







View Full Version : Need quick help! Anyone know how to...


Frosty
11-13-2002, 04:21 PM
Can anyone here maybe show me how to get the IP address of any orders that come through my site? I know it`s pretty simple but not sure how. Currently i have this code:
<? echo $REMOTE_ADDR ?>

The above shows the IP on my site. But if i`m using AuthorizeNet and have a form on my site that submits order info to AuthorizeNet...does anyone maybe know what kind of script i need to put in my coding so that i receive the IP address for orders as well?

I have this one big mother f**ker who has been coming to my site for the past 3 months and he`s using hundreds of stolen credit cards ordering hosting packages from my site. He`s not using the hosting packages, he`s just coming to my site to test his stolen cards to see if they`re good or not before using them to shop. I know it`s the exact same person doing it because he always enters "jkhl" into the name and address fields. I really need to get his IP address...

Bastards.

:confused:

RDX1
11-13-2002, 06:37 PM
use this

<input type=hidden name="env_report" value="REMOTE_HOST,REMOTE_ADDR">


in your form ;)

Frosty
11-13-2002, 07:03 PM
Thanks for responding. I tried that but it didn`t work :(

Do you use authorizenet?... or does anybody here who has a merchant account and has an order form that submits info to autorizenet maybe know what simple code i have to put into my coding?

The below didn`t work because authorizenet doesn`t have an input field called "env_report":
<input type=hidden name="env_report" value="REMOTE_HOST,REMOTE_ADDR">

So i tired using the below instead since authorizenet has an input field called "x_Fax" and i can use that available input name to submit the IP since i don`t use the fax input right now. But the below didn`t work either.
<input type=hidden name="x_Fax" value="REMOTE_HOST,REMOTE_ADDR">

Bla bla bla i really suck and probably didn`t make any sense. Anybody here maybe has any ideas?

:bawling:

RDX1
11-13-2002, 07:51 PM
just coping the code from my webpage, i should of worked, make a new feild or something, never used athorizenet

Frosty
11-13-2002, 10:40 PM
You can`t make a new field. You can only use field input names that authorizenet has available. That`s why i`m using the available "fax" field to collect the IP instead of fax numbers. When i used the below code it did submit info but instead of the IP showing up after someone orders now...i get REMOTE_HOST,REMOTE_ADDR...where the IP result should be.

I have the below two codes on my site...do the below codes look ok?

<? echo $REMOTE_ADDR ?>


<input type=hidden name="x_Fax" value="REMOTE_HOST,REMOTE_ADDR">