You are here: need help with $_POST variables « PHP Programming Language « IT news, forums, messages
need help with $_POST variables

Posted by admin on 09/19/06 14:27

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.

Now I am finding out that I need to use some of the funcitonality in
the scripts that are on the old box.

So, 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.
Found this out recently.

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.

All I want to do is take the $_POST variables from the form and pass
them to an intermediary script that is able to talk to the private box,
and then have that intermediary script pass them along again as a
$_POST array.

Thanks a lot!!!!!!

Frank

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация