You are here: Re: PHP email form not working « PHP Programming Language « IT news, forums, messages
Re: PHP email form not working

Posted by alice on 01/07/07 20:23

Well now the code has started working again, and we did nothing. I
guess it was just a problem with the ISP.

Rik wrote:
> 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

 

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

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