Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

url rewrite - I think???

Status
Not open for further replies.

rtikeith

Technical User
Sep 16, 2002
24
US
I have a program that gets updates from a static IP (this part works), but what I want it to do is to search for a website ( then it be redirected, forwarded, or whatever, to the static address previously mentioned. The problem I have when doing this is I can not run an program after forwarding to the ipaddress. Can someone give me some direction here? Can this be done, and if so what should I be looking for? I am new to php, so don't assume that I know to much about php.

I am thankful for any help you may be able to give.
 
Let me see if I understand you.

You want to fetch some data from a foreign site, combine it with data from your site, and present both to the user as a single page from your site?




Want the best answers? Ask the best questions!

TANSTAAFL!!
 
No, I don't want anything to be displayed in a browser. The program I mentioned is not a web browser. It is an autoupdate program for one of our software programs. It currently searches for a static IP that is at our office, but at some point our static IP may change and I don't want to have to manually change the IP address in all of our customers' files. Also, if we loose power I want a way to redirect it to one of our other locations where they will be able to get the updates.

So, what I was thinking is, we have our web site hosted remotely, and we will always have our web site, so why not put in the file our web site that way we would only have to change the static IP in the script on the web site.

The problem I am having with this is we point to a dll at our static IP that is needed for the autoupdate to run, and I cannot get the dll to pass all of the information back to the program on the customers computer.

Sorry about the delay in the response, I got swamped yesterday.
 
You might try looking at one of the dynamic DNS services, like DynDNS.

DynDNS is designed to support the hosting of websites on residential DSL, where the IP address of the public side of the DSL adapter is set dynamically by DHCP and can change from time to time. DynDNS runs a small app on one of your machines, and when your public IP address changes, updates your DNS entries to match.



Want the best answers? Ask the best questions!

TANSTAAFL!!
 
I from what I have found out about DynDNS, it won't work for me because I need to point it to a specific port, and not just an IP.
 
The redirect script should be located on the web site, which should point to our server (by IP address).
 
sleipnir214,

I have done a php redirect on the server, but was unsuccessful (refer the original post). When doing it, the program looks for files on the webserver, instead of the users computer to compare files.

thanks
 
Of course a PHP script will look on the server. It's can't look anywhere else, as PHP runs on the server.

If you want some kind of web-based software auto-examination and patching software, you'll probably have to go with Java or ActiveX on the client side.



Want the best answers? Ask the best questions!

TANSTAAFL!!
 
is there anyway I can pass the information back to the client computer?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top