Welcome Guest, Not a member yet? Register   Sign In
Sending Email (php5 vs php4)
#1

[eluser]Ngulo[/eluser]
hi all

i was wondering why if my hosting is set to PHP5

when sending email,i receive this error:
Code:
Severity: Warning

Message: mail() [function.mail]: SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE

Filename: libraries/Email.php

Line Number: 1519

while if i set the hosting on php4

the script work perfectly :O

any idea?

ps:the code is a very simple code nothing complicated
#2

[eluser]danmontgomery[/eluser]
Safe mode is enabled.

http://www.php.net/manual/en/features.sa...ctions.php

Quote:mail() In safe mode, the fifth parameter is disabled. (note: only affected since PHP 4.2.3)
#3

[eluser]Ngulo[/eluser]
hi noctrum,and so i need to use php4 with codeigniter? :O

sorry i don't understand what i need to do to make work emails on PHP5 Sad
#4

[eluser]mikelbring[/eluser]
No you need safe mode turned off. If your on a shared host, your host probably has to do it.
#5

[eluser]Ngulo[/eluser]
so it's a problem by the hoster !! thanks Wink




Theme © iAndrew 2016 - Forum software by © MyBB