Page 1 of 1

Is this possible?

Posted: Mon May 20, 2002 7:46 am
by Owl
Here is a little tricky question for you php programmers out there..

I wounder if this can be done...
if i want login site for a site and i want to be anonymous and i DUNT want to be using an anonymous proxy... can i imitate these variables that the ip finder scripts look for .... :?:
lets say i would like to have an ip adress of 0.0.0.0 and it would say that in the log of the site... could i then have the php script report that value when i log in.. :?: the reason why im asking this is because i want to know how secure i can make a site.. and if ppl can do this then it aint secure enough... :wink:
HTTP_X_FORWARDED_FOR = 0.0.0.0 <---- that would be reported to the site and they would have that ip adres in the logs..same as the rest
HTTP_CLIENT_IP =
HTTP_VIA =
HTTP_FROM =
CLIENT_IP =
REMOTE_ADDR = 0.0.0.0.
REMOTE_HOST =

Posted: Mon May 20, 2002 9:51 am
by jason
No, people can't change the PHP variables inside PHP from the outside...that is, unless you explicitly let them in some manner. PHP is safe for ecommerce stuff, so don't worry.

Thx

Posted: Wed May 22, 2002 3:14 am
by Owl
Okidoki... :D
Great =)