php_joe Posted October 26, 2006 Share Posted October 26, 2006 Hi,I'm playing around with a new proxy.I noticed with other proxies that their ip address get's blocked because so many people use it.I know that you can get the viewer's IP address using [b]$_SERVER['REMOTE_ADDR'][/b]Is there a way to change what is return using the remote address superglobal?Thanks,Joe Link to comment https://forums.phpfreaks.com/topic/25186-how-to-generate-a-random-ip-address/ Share on other sites More sharing options...
obsidian Posted October 26, 2006 Share Posted October 26, 2006 So, basically, you're wanting to know if you can spoof your IP address from another server? It can definitely be done, but from what I understand, it's done below the scripting level on the server itself. Also, that's getting into the gray area of what we actually cover on the boards since spoofing an IP address [b]typically[/b] is not used for the most upright practices :P Link to comment https://forums.phpfreaks.com/topic/25186-how-to-generate-a-random-ip-address/#findComment-114795 Share on other sites More sharing options...
php_joe Posted October 26, 2006 Author Share Posted October 26, 2006 Yes, I know it sounds shady, but if I just wanted to get around blocks I could use Ghostzilla. I don't want to randomise it (though I'm curious if it could be done, just like I'm curious about everything else), I want to use a specific address.You see, I telecommute (working through the internet; data entry, typing, ect...) and I also travel a lot (I'm currently in China) but some of the sites that I work through are restricted to the USA so I can't use them when I'm on a trip. I'd like to be able to set up my proxy to reflect the IP address of my home in Oregon so that I can continue to work when I'm outside the states.I'd also like to know how to prevent others from doing this to my site ;)Joe Link to comment https://forums.phpfreaks.com/topic/25186-how-to-generate-a-random-ip-address/#findComment-114801 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.