Please people, I seriously need answers to the following questions. I need them treated as numbered please. Regards,
Questions: 1. When shall cake PHP be fully PHP 5 compatible and all the PHP 4 OOP be gone since PHP 5.3 is already throwing strict faces against some PHP 4 constructs and I really wonder if PHP6 will smile at cake PHP at all (I'm just scared....). 2. How can I get the base URL inside a controller and inside a component. By base URL I mean something like this: if my application runs at http://localhost/salesmaster/products/admin then base URL is http://localhost/salesmaster. I know I can use the HTML->link('/') in views but how do I get them in the controller and in the component please. 3. How do I write the find query to process this kind of SQL? SELECT `AppSetting`.`id`, `AppSetting`.`name`, `AppSetting`.`value`, `AppSetting`.`created`, `AppSetting`.`modified` FROM `app_settings` AS `AppSetting` WHERE `AppSetting`.`id` < 5 AND ((`AppSetting`.`name` = 'SITE_MAINTENANCE') OR (`AppSetting`.`name` = 'EMAIL_HEADER_HTML')) Emphasis on the OR part of the query with the same field name: AppSetting.name --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---