Hide IP?
Moderator: General Moderators
Hide IP?
Is their a way in PHP to view a site (possibly with a IFRAME) but with your IP Address cloaked? So the sit eyou're visiting in the IFRAME doesn't know your IP address is (eg;) 123.456.78.90 ??
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Re: Hide IP?
Its a little unclear what you mean.Dale wrote:Is their a way in PHP to view a site (possibly with a IFRAME) but with your IP Address cloaked? So the sit eyou're visiting in the IFRAME doesn't know your IP address is (eg;) 123.456.78.90 ??
For example, lets say you have a server.
You want to display whatsyourip.com FROM your server, without displaying the IP of:
You?
Your server?
If you want to hide the IP of your server, then simply use an iframe and include the content directly, which will instead show the IP of the visitor (ie, you).
If you want to hide the IP of YOU, then have your server scrape the contents from whatsyourip.com, and display it. You can use snoopy, or any number of other php libraries to grab the contents of a site for just such a purpose.
Finally, if you want to hide BOTH, then you can use an anonymizing proxy in your browser, and iframe the contents directly from your server.
That covers all the scenarios that you didnt clearly specify.
...
Just a quick one:
"Roja" wrote:
Thanks Ahead !
"Roja" wrote:
Any example - code - how do you do this - what did you mean - my brain didn't do well in this paragraph.
If you want to hide the IP of your server, then simply use an iframe and include the content directly, which will instead show the IP of the visitor (ie, you).
Thanks Ahead !
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
rough example.
Code: Select all
...
<iframe src="e;http://some.remote/file_on_another_server.html"e; />
...