On Aug 14, 6:07 pm, "lalit kumar" <[EMAIL PROTECTED]> wrote:
> $doc_root = dirname(__FILE__).DIRECTORY_SEPARATOR;
> $position_uri = strrpos($_SERVER['REQUEST_URI'],'/')+1;
> $request_uri= substr($_SERVER['REQUEST_URI'],0,$position_uri);
> $url_root = "http://"; . $_SERVER['SERVER_NAME'] . $request_uri;
   <snip>

   This PHP--not CakePHP.

--
  <?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com    Blog: http://rajeshanbiah.blogspot.com/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to