Create a helper, include the Html helper on it and paste the method:

        /**
         * Returns the absolute url of a cake url
         * @param string $url CakeURL /controller/action/param1/param2
         * @return string URL like
http://yourhost/cake_install/controller/action/param1/param2
         */
        function absolute_url($url)
        {
                return FULL_BASE_URL . $this->Html->url($url);          
        }


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to