|
Posted by Jerry Stuckle on 10/12/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]
|