Jump to content

Recommended Posts

Hi,

 

I have a demo application that runs on my local fixed IP, say http://x.x.x.x/cgi-bin/myapp.exe/search?item=1&cost=2

 

I'm new to PHP, is it possible to prevent people seeing my x.x.x.x ip address by putting a PHP file on my external ISP site and passing the request from there to my local server here?

 

I've had a look at redirect in Apache and PHP but they still show the x.x.x.x in the browser.

 

Is this possible/impossible?, Thanks.

 

Thanks for the help guys..

 

I tried .htaccess but doesn't seem to do anything I'll try again later once I get more familiar with it (I tried it locally on apache xp and my isp Apache Linux/Unix).

 

I don't mind people having access to my x.x.x.x site, it's just that it doesn't look as good as a registered domain.

 

I'm a bit surprised that PHP doesn't have a technique for obtaining its page content from an executable on another site, I can't find the link but I thought I saw an ASP example that uses something like Response.content = (something with querystring..?)  - anything similar in PHP in case .htaccess doesn't work for me?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.