Re: error for send email
On May 13, 2011, at 08:34, hoss7 wrote: i want send email,but i have this error: Warning (2): getmypid() has been disabled for security reasons [CORE/ cake/libs/string.php, line 89] where is my problem Your problem is that in the version of PHP you're running, getmypid() has been disabled for security reasons, and CakePHP uses getmypid() in its uuid() function in CORE/cake/libs/string.php on line 89. And the uuid() function appears to be used in several places in CakePHP, including the generation of email headers. Either run a version of PHP that has not disabled the getmypid() function, or I guess the alternative is for you to modify the uuid() function so that it doesn't use getmypid(). The purpose of uuid() is just to return a Universally Unique IDentifier, so you could rewrite it to pick some other forms of entropy besides the current process id. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: error for send email
thank you -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
error for send email
i want send email,but i have this error: Warning (2): getmypid() has been disabled for security reasons [CORE/ cake/libs/string.php, line 89] where is my problem my controller: if (!empty($this-data)) { $this-Email-from= 'example i...@example.com'; $this-Email-to = 'example exam...@example.com'; $this-Email-subject = ''. $this-data['Pages']['name'].'_'.$this- data['Pages']['email']; $this-Email-send($this-data['Pages']['message']); $this-Session-setFlash(__('Your message send!', true)); } my view: ?php echo $this-Form-create('Pages'); ? Name:?php echo $this-Form-input('name', array('label' = '')); ? Email:?php echo $this-Form-input('email', array('label' = '')); ? Message:?php echo $this-Form-textarea('message'); ? ?php echo $this-Form-end('Send'); ? ?php echo $this-Session-flash(); ? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: error for send email
this error for cakephp or i must edit cakephp confing for use email functions? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php