This is a discussion on "PHP form and server troubles" within the PHP Forum section. This forum, and the thread "PHP form and server troubles are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
PHP form and server troubles
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
PHP form and server troubles
I have two identical 'submit CV' php forms, one sits on our server and works perfect...
And this one sits on our clients server and is a disaster... Does anyone know what is going on? Im assuming is the a server side problem, however are there ways I can tweak the code so that it works??? Thanks!! Neil |
|
|
|
#2
|
|||
|
|||
|
Re: PHP form and server troubles
I'm not sure but i'm guessing it's because your client server doesn't support PHP, or at least the version your trying to use. So that's why its getting served up as plain text.
All the other pages on that site appear to be plain .html files and thats why they work fine. You should check your server compatibility with PHP. Hope this helped -Blake- www.theloop.org.uk |
|
#3
|
||||
|
||||
|
Re: PHP form and server troubles
One of the first things I do is to make and bookmark the following simple file in a password-protected administrative directory (inside
/public_html).
This might be a big help for you -- just put it on both servers and compare the result. The most likely culprits are 1) Different PHP versions, and 2) Different PHP settings. |
|
#4
|
|||
|
|||
|
Re: PHP form and server troubles
thanks for your help guys.
funny thing is I also have a copy of phpinfo.php, I tried it before you posted and rather than showing the php info on the clients server as it should (and does work on our server) it comes up with the "do you want to save to file or open" window...which is obviously not good! The funny thing is that I have other more simple php contact forms running on the server which work perfectly, it's just this on with the 'attach file' script that seems to not work. My guess is that the php isn't installed correctly on the server or it is running a very old version of php. The search continues for a solution...other than a rebuild of the server (as we are not in control of it). I am always having problems with servers that arn't set up as they should be - they should be universally built the same, it's a royal pain in the arse! Thanks anyway guys! |
![]() |
| Tags |
| submit, server, form |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IE Troubles | MotorManiac | Web Page Design | 0 | May 11th, 2008 00:01 |
| Server-side form validation strategy.... | ginzotech | ASP.NET Forum | 0 | Jun 1st, 2007 15:25 |
| Secure E-mail form troubles | BGarner | PHP Forum | 2 | Mar 15th, 2007 20:22 |
| URGENT!!!! Send HTTP request from one web server to another server | chandra.nowduri | ASP.NET Forum | 1 | Aug 7th, 2006 19:18 |
| Need to process data on one server, utilize it on another server ... can it be done? | jaobrien | Classic ASP | 1 | Dec 6th, 2005 00:58 |