Reply to Re: PHP email form not working

Your name:

Reply:


Posted by Rik on 01/06/07 22:05

Michael Austin wrote:
> alice wrote:
>> Actually, as it turns out, my ISP is using PHP 4.3 and hers, the one
>> where this code does not work, is using php 4.4. Should I still try
>> the
>> code your talking about, would it make any difference? We also
>> discovered that other php mail/form code that she had on her ISP that
>> was working the day before, has suddenly stopped working, but we
>> haven't changed anything ourselves.
>
> It has to do with the register_global settings in the php.ini file.
> If you are deploying this to multiple servers - I would include it as
> you really do not
> know what the setting is going to be from server to server [for a
> given ISP].

Well, an another script that previously worked suddenly stopped working I
doubt it.

I'd suggest the following:
Make a small script with a hardcoded mail() statement, which sends the mail
to an emailadress without spam filtering. If this doesn't work, yet mail()
returns true, contact your hoster. If it does, then try with
spam-filtering. If that also works, it's the variables in the script that
are the problem. Try to var_dump them instead of mail()ing , to check what
value they hold.
--
Rik Wasmus

[Back to original 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

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