/    Sign up×
Community /Pin to ProfileBookmark

PHP form processor works on 1 server, not another.. any reason why?

I got a form processor I use often. When I put the form processing scripts on the clients server – the form is processed and rolls over to my confirmation page BUT the results are never emailed to the client nor is the thank you confirmation emailed to the user.

BUT, when I put these same scripts on my server and point the clients form to use those scripts on my server, and not theirs, said scripts [U]work perfec[/U]t and send off the email results and confirmation email ASAP…

Maybe it is a mail server issue as I would logistically deduce that since the same .PHP scripts run perfect on my server, they should on theirs so the only real issue could be the mail server?

Only diff is that my server is running 5.2.8 and theirs is running 5.2.3 – would this really matter?

what should I be looking at to solve this?

to post a comment
PHP

5 Comments(s)

Copy linkTweet thisAlerts:
@zahidrafMay 07.2009 — There could be two cause.

1) If email is not going check with your hosting for the Email setting and SMTP

2) Secondly check the CASE Sensative issue.

LG GC 900
Copy linkTweet thisAlerts:
@etardauthorMay 07.2009 — "CASE Sensative issue" - is that some specific term for something?

what would I be looking for that is case sensitive? I know I have correctly pointed to files and directories that match up in case.. is that what you are asking? for example, the directory on the server is Includes and so I do not look for includes, the file name is called ra_contact.php and so I do not look for RA_Contact.php.. are these the kind of things you mean?

UPDATE: I just tried it on a 3rd server.. worked perfect ? .. just not on the server it needs to ?
Copy linkTweet thisAlerts:
@zahidrafMay 08.2009 — This mean your code is fine and there is no issue at all.

If it is working on other server , You must get detail for the required server and see what is the issue may you can check it specification and your required DLL is active.

[code=php]
phpinfo();
[/code]


I think it helps.


http://www.zahipedia.com
Copy linkTweet thisAlerts:
@etardauthorMay 08.2009 — I have a response from their IT department that it has to do with the fact they use phpMailer and "a mail class library" - I look in their code at some other form processor files and it has some links to

require_once "phpMailer/class.phpmailer.php";

require_once "phpMailer/class.smtp.php";

and that their code as SMTP references
Copy linkTweet thisAlerts:
@xvszeroMay 08.2009 — I don't actually have the answer, but I have run into the same issue. Whether or not PHP can send email is definitely related to the specific server and various settings.
×

Success!

Help @etard spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.14,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,
)...