Welcome Guest, Not a member yet? Register   Sign In
PHP4 and PHP5
#12

[eluser]Ngulo[/eluser]
hi cahva i've just proved this code and it returns a "string(0) "" "

i have write this in the library:
Code:
$this->_safe_mode = var_dump(ini_get("safe_mode"));

instead of:
Code:
$this->_safe_mode = ((boolean)@ini_get("safe_mode") === FALSE) ? FALSE : TRUE;

was it what i must did?

my code for sending mail is very simple,and is this:
Code:
$this->load->library('email');
            $this->email->from('[email protected]');
            $this->email->to('$email');//post data from input
            $this->email->subject('asd asd');
            $this->email->message('ok is arrived');
            $this->email->send();


Messages In This Thread
PHP4 and PHP5 - by El Forum - 03-25-2010, 07:29 AM
PHP4 and PHP5 - by El Forum - 03-25-2010, 07:33 AM
PHP4 and PHP5 - by El Forum - 03-25-2010, 07:55 AM
PHP4 and PHP5 - by El Forum - 03-25-2010, 08:30 AM
PHP4 and PHP5 - by El Forum - 03-25-2010, 09:06 AM
PHP4 and PHP5 - by El Forum - 03-25-2010, 09:24 AM
PHP4 and PHP5 - by El Forum - 03-25-2010, 10:22 AM
PHP4 and PHP5 - by El Forum - 03-25-2010, 11:43 AM
PHP4 and PHP5 - by El Forum - 03-25-2010, 03:31 PM
PHP4 and PHP5 - by El Forum - 03-25-2010, 05:06 PM
PHP4 and PHP5 - by El Forum - 03-25-2010, 05:27 PM
PHP4 and PHP5 - by El Forum - 03-26-2010, 07:54 AM
PHP4 and PHP5 - by El Forum - 03-26-2010, 08:12 AM
PHP4 and PHP5 - by El Forum - 03-26-2010, 08:18 AM
PHP4 and PHP5 - by El Forum - 03-26-2010, 09:20 AM
PHP4 and PHP5 - by El Forum - 03-26-2010, 10:34 AM
PHP4 and PHP5 - by El Forum - 03-26-2010, 01:32 PM
PHP4 and PHP5 - by El Forum - 03-26-2010, 05:41 PM
PHP4 and PHP5 - by El Forum - 03-27-2010, 08:15 AM
PHP4 and PHP5 - by El Forum - 05-14-2010, 04:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB