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

hi all

i was wondering why if my hosting is set to PHP5

when sending email,i receive this error:
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

Safe mode is enabled.


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

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

No you need safe mode turned off. If your on a shared host, your host probably has to do it.

so it's a problem by the hoster !! thanks Wink

Theme © iAndrew 2016 - Forum software by © MyBB