You are here: Re: Cannot use mail() in IE, only works in a debugger--help « PHP Programming Language « IT news, forums, messages
Re: Cannot use mail() in IE, only works in a debugger--help

Posted by Jerry Stuckle on 11/24/50 11:28

baustin75@gmail.com wrote:
> I really appreciate everyones help with my PHP problem. I still cannot
> get the darn thing to work though. My PHP editor/debugger is using the
> same php.exe and php.ini as my web server. I also wanted to let you
> know that all of my PHP code works perfectly when I have a html form
> and a PHP script to handle the form, all except for mail(). Only when
> I debug and run the exact same code through the PHP editor does the
> mail() command work. Ex: Lets say I have a form to check the strlen()
> of a text box and then a mail command in the next line of code. The
> strlen will execute with no problem but as soon as it hits the mail
> command it fails. Thanks for any help or suggestions you may have.
>

Have you checked your php.log file? There should be some error message
in it as to why it failed. (You do have log_errors=on and
error_reporting=all in your php.ini file, don't you?)

Also, I found running on Windows I had to have sendmail_from set in the
php.ini file, even if I specified From: in the header.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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