![]() |
Sending Email (php5 vs php4) - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Sending Email (php5 vs php4) (/showthread.php?tid=28841) |
Sending Email (php5 vs php4) - El Forum - 03-23-2010 [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 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 Sending Email (php5 vs php4) - El Forum - 03-23-2010 [eluser]danmontgomery[/eluser] Safe mode is enabled. http://www.php.net/manual/en/features.safe-mode.functions.php Quote:mail() In safe mode, the fifth parameter is disabled. (note: only affected since PHP 4.2.3) Sending Email (php5 vs php4) - El Forum - 03-23-2010 [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 ![]() Sending Email (php5 vs php4) - El Forum - 03-23-2010 [eluser]mikelbring[/eluser] No you need safe mode turned off. If your on a shared host, your host probably has to do it. Sending Email (php5 vs php4) - El Forum - 03-23-2010 [eluser]Ngulo[/eluser] so it's a problem by the hoster !! thanks ![]() |