Running a Controller Function from the Console
Hello, I was just wondering how we can run a function of a controller using the console. Like normal PHP Scripts we can run the scripts using the following syntax: [COMMAND PROMPT] php test.php Thanks, Muhammad Ammad Saleem --~--~-~--~~~---~--~~ 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Bulk or Mass Email in CakePHP
I want to send out 1000's of emails in CakePHP and I am using PHP Mailer with it. I would like you people to share you thoughts on is: What I should do? Whats the best solution in your view? What to do in case of script time out errors? Thanks and regards, Muhammad Ammad Saleem BS (Computer Science) University of Karachi Pakistan --~--~-~--~~~---~--~~ 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: External Referer URL in CakePHP Page Header Issue
Basically this is a security check that comes with using the medium level security provided by CakePHP 1.2. By using the medium level security if Cake finds an external referer URL (Not belonging to the Cake application's domain) you are taken to the home page without the session being initialized. Thus the normal execution of a controller is not carried out. On Sep 22, 10:56 am, Ammad <[EMAIL PROTECTED]> wrote: > I have come across an issue in my cakePHP application I have come to > know that when the referer contains the link of an external site my > controller actions are not executed at all. > > Up on some research I found out that the "referer()" function in the > cake/libs/controller/controller.php checks the referer url and if > certain conditions are not fulfilled it is directed to the site's home > page. No matter what controller/action was called, if the referer is > of an external site, you are taken to the site root > > What I want to do is some how by pass this restriction enforced by the > "referer()" function or find some work around for this issue. > > Awaiting your replies. > > Regards, > Muahmmad Ammad Saleem --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
External Referer URL in CakePHP Page Header Issue
I have come across an issue in my cakePHP application I have come to know that when the referer contains the link of an external site my controller actions are not executed at all. Up on some research I found out that the "referer()" function in the cake/libs/controller/controller.php checks the referer url and if certain conditions are not fulfilled it is directed to the site's home page. No matter what controller/action was called, if the referer is of an external site, you are taken to the site root What I want to do is some how by pass this restriction enforced by the "referer()" function or find some work around for this issue. Awaiting your replies. Regards, Muahmmad Ammad Saleem --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---