Problem In Sessions
I am Facing a Problem in Session variable Of Cake Php. Once I log in than my Session Varialb have a value . But When I switch to other Link Of The Same Page Than it LOGOUT. Why ?? Until Unless I Will not Logout my Session Variable Has to retain value But It Doesn't . Help Me Out To Figure Out This Problem !! !! Thanks Rocky --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
how to execute events like onmouseover in an link tag in cakephp
How to execute events like onmouseover. onchange in an link tag in cakephp??? Help Me !!! Thanks Rocky --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: how to execute events like onmouseover in an link tag in cakephp
Thanks On Apr 28, 1:57 pm, theChrisWalker [EMAIL PROTECTED] wrote: $html-link('Link Text','/link/path',array('onmouseover'='alert(You moused over me!);'); The third argument in Html::link() is the html attributes, onmouseover stuff can be passed in there. On Apr 28, 6:55 am, Rocky [EMAIL PROTECTED] wrote: How to execute events like onmouseover. onchange in an link tag in cakephp??? Help Me !!! Thanks Rocky --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
how to save a particular field in php cake
Plz help me out How to save a particular field in php cake Thanks Rocky --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
How to display records from a table in php cake
How to display records from a table in php cake Help me to figure out this problem Thanks Rocky --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Error During Sending Of an Email
I am getting Error when I send email through PHPMAILER Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/bidlower/app/vendors/phpmailer/class.smtp.php on line 122 Warning: fsockopen() [function.fsockopen]: unable to connect to :25 (Unknown error) in /var/www/bidlower/app/vendors/phpmailer/ class.smtp.php on line 122 I am using cake version 1.1.19.6305 Help Me Out Thanks Rocky --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: How to send email in cake php
Would you plz tell me the coding of controlle,views etc. I had already include phpmailer Thanks On Apr 22, 11:40 am, k10 [EMAIL PROTECTED] wrote: Tryhttp://sourceforge.net/phpmailer.You could use this with the vendor function incake. Hope it helps. -Ketan.http://www.innovatechnologies.inhttp://www.propertyjungle.in On Apr 22, 1:43 am, Rocky [EMAIL PROTECTED] wrote: Plz let me know how tosendemailthroughcakephp Thanks Rocky --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: How to send email in cake php
I am using php cake version 1.1.19.6305 On Apr 22, 2:55 pm, dr. Hannibal Lecter [EMAIL PROTECTED] wrote: Are you using the 1.2 branch? http://api.cakephp.org/1.2/class_email_component.htmlhttp://book.cakephp.org/view/176/email On Apr 22, 9:49 am, Rocky [EMAIL PROTECTED] wrote: Would you plz tell me the coding of controlle,views etc. I had already include phpmailer Thanks On Apr 22, 11:40 am, k10 [EMAIL PROTECTED] wrote: Tryhttp://sourceforge.net/phpmailer.Youcoulduse this with the vendor function incake. Hope it helps. -Ketan.http://www.innovatechnologies.inhttp://www.propertyjungle.in On Apr 22, 1:43 am, Rocky [EMAIL PROTECTED] wrote: Plz let me know how tosendemailthroughcakephp Thanks Rocky --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: How to include a php file in php cake
Well , On Apr 19, 6:26 pm, Femi Taiwo [EMAIL PROTECTED] wrote: Hi Rocky, In Two Simple Steps: 1. copy the file you want include to your ROOT-FOLDER/vendors folder. 2. In your controller , use vendor('filename'); Assuming I want to include workflow.php, my folder structure is |-htdocs |-app |-cake |-docs |-vendors So I copy workflowengine.php to vendors Then do vendor('workflowengine'); Leave out the '.php' extension. Once you do that, you will have access to all the methods and classes in workflowengine.php. Note: Vendors are for third-party classes. So be careful about using the Vendor thing. If it contains functions for views then make a helper. If its for controllers, create a component. However if it does not fall into any of these, then feel free and put it in the vendors folder. Find out more about vendors on cakephp.org Rocky wrote:PLz let me know how to add a file in php cake Thanku Rocky --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: How to include a php file in php cake
Well, since app-views-layout-default.thtml executes by default . If I want to xecute admins.thtml placein layout folde, Than what change should i do in which FILE. according to your instructions I had a file plced in the root-vendors foler but still unable to access . Actually I want to include FCKEDITOR in my view page. But I dont know how to include FCKEDITOR.so, Plz solve my both Problems Thanks for cooperation On Apr 19, 6:26 pm, Femi Taiwo [EMAIL PROTECTED] wrote: Hi Rocky, In Two Simple Steps: 1. copy the file you want include to your ROOT-FOLDER/vendors folder. 2. In your controller , use vendor('filename'); Assuming I want to include workflow.php, my folder structure is |-htdocs |-app |-cake |-docs |-vendors So I copy workflowengine.php to vendors Then do vendor('workflowengine'); Leave out the '.php' extension. Once you do that, you will have access to all the methods and classes in workflowengine.php. Note: Vendors are for third-party classes. So be careful about using the Vendor thing. If it contains functions for views then make a helper. If its for controllers, create a component. However if it does not fall into any of these, then feel free and put it in the vendors folder. Find out more about vendors on cakephp.org Rocky wrote:PLz let me know how to add a file in php cake Thanku Rocky --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: How to include a php file in php cake
Thanku On Apr 19, 6:26 pm, Femi Taiwo [EMAIL PROTECTED] wrote: Hi Rocky, In Two Simple Steps: 1. copy the file you want include to your ROOT-FOLDER/vendors folder. 2. In your controller , use vendor('filename'); Assuming I want to include workflow.php, my folder structure is |-htdocs |-app |-cake |-docs |-vendors So I copy workflowengine.php to vendors Then do vendor('workflowengine'); Leave out the '.php' extension. Once you do that, you will have access to all the methods and classes in workflowengine.php. Note: Vendors are for third-party classes. So be careful about using the Vendor thing. If it contains functions for views then make a helper. If its for controllers, create a component. However if it does not fall into any of these, then feel free and put it in the vendors folder. Find out more about vendors on cakephp.org Rocky wrote:PLz let me know how to add a file in php cake Thanku Rocky --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: How to include a php file in php cake
Well, since app-views-layout-default.thtml executes by default . If I want to xecute admins.thtml placein layout folde, Than what change should i do in which FILE. according to your instructions I had a file plced in the root-vendors foler but still unable to access . Actually I want to include FCKEDITOR in my view page. But I dont know how to include FCKEDITOR.so, Plz solve my both Problems Thanks for cooperation On Apr 19, 6:26 pm, Femi Taiwo [EMAIL PROTECTED] wrote: Hi Rocky, In Two Simple Steps: 1. copy the file you want include to your ROOT-FOLDER/vendors folder. 2. In your controller , use vendor('filename'); Assuming I want to include workflow.php, my folder structure is |-htdocs |-app |-cake |-docs |-vendors So I copy workflowengine.php to vendors Then do vendor('workflowengine'); Leave out the '.php' extension. Once you do that, you will have access to all the methods and classes in workflowengine.php. Note: Vendors are for third-party classes. So be careful about using the Vendor thing. If it contains functions for views then make a helper. If its for controllers, create a component. However if it does not fall into any of these, then feel free and put it in the vendors folder. Find out more about vendors on cakephp.org Rocky wrote:PLz let me know how to add a file in php cake Thanku Rocky --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Email Problem
Plz solve my following problems:- a) Since app-views-layout-default.thtml executes by default . If I want to xecute admins.thtml placein layout folde, Than what change should i do . I had a file plced in the root-vendors foler but still unable to access . Actually I want to include FCKEDITOR in my view page. But I dont know how to include FCKEDITOR b) How to send email in Php Cake Thanks for cooperation Rocky --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
How to send email in cake php
Plz let me know how to send email through cake php Thanks Rocky --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
How to include a php file in php cake
PLz let me know how to add a file in php cake Thanku Rocky --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Selection jump function / menu
Hey, Thank you very much for all of you! Blessings, Rocky On Dec 13, 5:24 pm, MrTufty [EMAIL PROTECTED] wrote: That's exactly how I'd do it too. With the exception that I'd put the code in via a touch of jQuery in the view instead, but that's a matter of style. Tufty On Dec 13, 9:02 am, francky06l [EMAIL PROTECTED] wrote: You could set your text field as an hidden field at first. Then handling onChange in the select box, with a small javascript you would show the text box when the is other and hide it otherwise.on Something like : $js = 'if(this.value == other) $(\'inpbox\').show(); else $(\'inpbox \').hide();'; echo $form-input('knowsfrom', array('type' = 'select', 'options' = $options, 'onchange' = $js)); echo $form-input('otherfrom', array('type' = 'text', 'id' = 'inpbox')); I did write this code just straight here, so you might get some syntax errors, but that should give you a hint. hth On Dec 13, 7:32 am, rocky [EMAIL PROTECTED] wrote: Hey, I'm trying to use cakePHP to do a client's sign up form. I want to know how did our clients find us so we have a selection box for them to choose. Well, there's an option called other, When they select Other as option I want the web page throws an text field for them to fill out. If any of you could give me some hint on how to achieve this, I would really appreciate it? Blessings, Rocky --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Selection jump function / menu
Hey, I'm trying to use cakePHP to do a client's sign up form. I want to know how did our clients find us so we have a selection box for them to choose. Well, there's an option called other, When they select Other as option I want the web page throws an text field for them to fill out. If any of you could give me some hint on how to achieve this, I would really appreciate it? Blessings, Rocky --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Blank selection option
Hey, I'm using below code to generate a selection box. Code begin ?php echo $html-selectTag('User/where', array('Biblical Coach Academy'='Bibli cal Coach Academy','CACC'='CACC','Christian Coaches Network'='Christian Coache s Network','Coaching Conference'='Coaching Conference','ILCT'='ILCT','PCCA'=' PCCA','Search Engine'='Search Engine','Friend or referral'='Friend or referral '))? --Code end--- But instead of filled with 'Biblical Coach Academy', I got a blank item. Can any of you how to get rid of the blank item please? Blessings, Rocky --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: get a 404 page
Can any of you help me please? On May 9, 5:52 pm, rocky [EMAIL PROTECTED] wrote: Hey, http://localhost/cakephpxxx/index.php?url=userswould give me the right content but I click on the link of register whose right url washttp://localhost/cakephpxxx/users/registerand it gives me the 404 page again unless I inputhttp://localhost/cakephpxxx/index.php?url=users/register. It is so strange, as I said another application works perfectly fine. Can any of you give me a hint on how to solve the problem please? Blessings,Rocky On May 9, 5:27 pm,rocky[EMAIL PROTECTED] wrote: Hey list, I followed the tutorial of IBM: Cook Up Websites Fast (5 part series) and got the user registration system up and running successfully. Today I did an database table back up use mysqldump -- add-drop-table xxx command and did some other editing which I forgot. The problem is the when I go tohttp://localhost/cakephpxxx/usersI got a 404 warning. I got another system called post andhttp://localhost/cakephpxxx/postsgivesme the content without any problem. Can any of you give me a hint on how to solve the problem please? The error message is The requested URL /cakephp/cakephp1113/users was not found on this server. Blessings, Rocky --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: get a 404 page
Hey All, I dropped the table and import the back up sql file in again. It works. Blessings, Rocky On May 9, 5:52 pm, rocky [EMAIL PROTECTED] wrote: Hey, http://localhost/cakephpxxx/index.php?url=userswould give me the right content but I click on the link of register whose right url washttp://localhost/cakephpxxx/users/registerand it gives me the 404 page again unless I inputhttp://localhost/cakephpxxx/index.php?url=users/register. It is so strange, as I said another application works perfectly fine. Can any of you give me a hint on how to solve the problem please? Blessings,Rocky On May 9, 5:27 pm,rocky[EMAIL PROTECTED] wrote: Hey list, I followed the tutorial of IBM: Cook Up Websites Fast (5 part series) and got the user registration system up and running successfully. Today I did an database table back up use mysqldump -- add-drop-table xxx command and did some other editing which I forgot. The problem is the when I go tohttp://localhost/cakephpxxx/usersI got a 404 warning. I got another system called post andhttp://localhost/cakephpxxx/postsgivesme the content without any problem. Can any of you give me a hint on how to solve the problem please? The error message is The requested URL /cakephp/cakephp1113/users was not found on this server. Blessings, Rocky --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
get a 404 page
Hey list, I followed the tutorial of IBM: Cook Up Websites Fast (5 part series) and got the user registration system up and running successfully. Today I did an database table back up use mysqldump -- add-drop-table xxx command and did some other editing which I forgot. The problem is the when I go to http://localhost/cakephpxxx/users I got a 404 warning. I got another system called post and http://localhost/cakephpxxx/posts gives me the content without any problem. Can any of you give me a hint on how to solve the problem please? The error message is The requested URL /cakephp/cakephp1113/users was not found on this server. Blessings, Rocky --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Get rid of default header
Hey Greg, Thanks very much for your reply! it helps a lot although the location should be in /cake/lib/views/layouts/ Blessings, Rocky On May 8, 4:09 am, Greg Cerveny [EMAIL PROTECTED] wrote: Heyrocky, I had the same question last week. Check out: /app/views/layouts/default.thtml and this man page:http://manual.cakephp.org/chapter/views 2007/5/7,rocky[EMAIL PROTECTED]: Hey List, I'm very new to cakephp. There is a default header read as CakePHP Rapid Development at the top of my application if I use browse to it. I'm wondering how can I get rid of it? If any of you could help me, I would really appreciate it? Blessings, Rocky --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: get a 404 page
Hey, http://localhost/cakephpxxx/index.php?url=users would give me the right content but I click on the link of register whose right url was http://localhost/cakephpxxx/users/register and it gives me the 404 page again unless I input http://localhost/cakephpxxx/index.php?url=users/register. It is so strange, as I said another application works perfectly fine. Can any of you give me a hint on how to solve the problem please? Blessings, Rocky On May 9, 5:27 pm, rocky [EMAIL PROTECTED] wrote: Hey list, I followed the tutorial of IBM: Cook Up Websites Fast (5 part series) and got the user registration system up and running successfully. Today I did an database table back up use mysqldump -- add-drop-table xxx command and did some other editing which I forgot. The problem is the when I go to http://localhost/cakephpxxx/usersI got a 404 warning. I got another system called post andhttp://localhost/cakephpxxx/postsgives me the content without any problem. Can any of you give me a hint on how to solve the problem please? The error message is The requested URL /cakephp/cakephp1113/users was not found on this server. Blessings, Rocky --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Get rid of default header
Hey List, I'm very new to cakephp. There is a default header read as CakePHP Rapid Development at the top of my application if I use browse to it. I'm wondering how can I get rid of it? If any of you could help me, I would really appreciate it? Blessings, Rocky --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Debian cakephp installation
Hey, I'm using Debian stable with apache v2. I can download and extract the latest cakephp into /home/me/public_html/cakephp The proble is when I browse to latest installation I got the following error The requested URL /home/me/public_html/cakephp/cake1113/app/webroot/ was not found on this server. Can any of you give me some hint please? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---