Is this possible?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Owl
Forum Newbie
Posts: 2
Joined: Mon May 20, 2002 7:46 am
Contact:

Is this possible?

Post 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 =
jason
Site Admin
Posts: 1767
Joined: Thu Apr 18, 2002 3:14 pm
Location: Montreal, CA
Contact:

Post 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.
Owl
Forum Newbie
Posts: 2
Joined: Mon May 20, 2002 7:46 am
Contact:

Thx

Post by Owl »

Okidoki... :D
Great =)
Post Reply