FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Trouble with sending e-mail from simple php script
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Trouble with sending e-mail from simple php script [message #176516 is a reply to message #176504] Sun, 08 January 2012 22:35 Go to previous messageGo to previous message
M. Strobel is currently offline  M. Strobel
Messages: 386
Registered: December 2011
Karma:
Senior Member
Am 08.01.2012 20:02, schrieb C:
> On Jan 8, 6:19 pm, "M. Strobel" <sorry_no_mail_h...@nowhere.dee>
> wrote:
>> Am 07.01.2012 20:01, schrieb C:
>>
>>
>>
>>> By the way, PHP.INI contained the following but suspecting this to be
>>> a problem, I removed the file, and it still does not work.
>>
>> You removed the file?
>
> Yes, I had. I put it back.
>
>>
>> Put it back in its original state, and tell us the settings once
>> again.
>
> It says the following:
>
> register_globals = off
> allow_url_fopen = off
>
> expose_php = Off
> max_input_time = 60
> variables_order = "EGPCS"
> extension_dir = ./
> upload_tmp_dir = /tmp
> precision = 12
> SMTP = relay-hosting.secureserver.net
> url_rewriter.tags =
> "a=href,area=href,frame=src,input=src,form=,fieldset="
>
>
> ; Only uncomment zend optimizer lines if your application requires
> Zend Optimizer support
>
> ;[Zend]
> ;zend_optimizer.optimization_level=15
> ;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
> ;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/
> Optimizer_TS-3.3.3
> ;zend_extension=/usr/local/Zend/lib/Optimizer-3.3.3/
> ZendExtensionManager.so
> ;zend_extension_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3/
> ZendExtensionManager_TS.so
>
>
> ; -- Be very careful to not to disable a function which might be
> needed!
> ; -- Uncomment the following lines to increase the security of your
> PHP site.
>
> ;disable_functions =
> "highlight_file,ini_alter,ini_restore,openlog,passthru,
> ; phpinfo, exec, system, dl, fsockopen, set_time_limit,
> ; popen, proc_open,
> proc_nice,shell_exec,show_source,symlink"
>
>
>>
>> During development all error messages should be turned on,
>> otherwise you don't see what fails.
>>
>> /Str.
>
> Thanks. Do you see some trouble with the PHP.INI?

Add these entries at the beginning:

display_errors = On
error_reporting = E_ALL
error_log = /var/log/php-errors
log_errors = On

This is about the maximum of error information, it will be
displayed and written to the log file.

You can easily look up the keywords in the web.

Then run your script, and see what the errors are.

/Str.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: scoping inside a block
Next Topic: Best PHP Training | PHP Development Training | PHP Training Institute
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 02:32:26 GMT 2024

Total time taken to generate the page: 0.03421 seconds