Hi,
I have a mysql box that has a private network ip. The old developer was running our web server on this machine but the company since retired the box and it is in a closet, still running, but sad and alone, aliased as oldserver.mycompany.com
I just installed PHP on our new IIS webserver.
I have a form that he built which collects information from potential clients and then passes it on for entry in the database (on the old box), sends out emails, does calculations, and so on and so forth. It does a lot, actually.
I cannot build a form to pass directly to this mysql box because it does not have a public IP. I cannot submit directly to a private IP.
So I was thinking I could have the form submit to our web server, and they my web server could in turn submit the $_POST variables to the private box.
This should work, no?
My problem is, I need to create a file on my web server that will do nothing but take the $_POST variables and hand them off to the private box for processing.
How can I take $_POST and repost it?
It is probably not difficult, but I am new to PHP. I have looked, cannot find the answer.
I would not be able to press a button, so the submission would have to be automatic.
Is this possible?
Can you help? I truly appreciate it. I need to get this up... as a temporary solution... then I can try to duplicate the functionality on the private box with the web server.
Thanks a lot!!!!!!
J