I am unfamiliar with "header()" and needed some clarification. The situation is that I need to send http requests to a network appliance to change parameters. Here's how the network is set up:
Net appliance and Web server are behind a firewall, with a port only open to the web server. A user on the public web (outside the firewall) needs to pull a web page from the web server which, when loaded, will cause the web server (NOT the user's client computer on the open internet) to send this control request to the net appliance.
In the php of the web page on the web server, I plan to put something like this:
int header("http://192.168.1.200/paramcontrol.cgi?newparam=value")
I want the web server to then send this http request to the 192.168.1.200 box (the net appliance) in just the same way as if a local computer on the local private network typed this into a browser.
It is very important that this string or http request never be sent to the actual user out on the net. I don't want this script to redirect the user's browser at all, but rather continue to load the php page with the header() script in it saying something like "Modification Succesfull" or whatever.
Thanks in advance for any help.
-K