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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

php on two servers?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
i have a website on one server (bad server) that doesn't handle php - i have another site on a server (good server)that does - i setup the first site with a form that calls a "mail.php" on my "good" server, and it works fine from my local machine, but once i place it on the other remote, it does not. make sense?

why is this, and can i make the site on the bad server call a php script on another server successfully?

i really need help with this, please someone...
 
Well, we'd really have to see what your "mail.php" code looks like, to see if the trouble is there.

You are saying that the "good server" won't properly run this file, but it works correctly on you local development machine?

Have you compared your php configurations for a clue there? It's best to configure your local dev machine to mirror the server's php config.

As far as calling the code from a site without php, or even another site with php, the best you can do is through a URL.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top