hi, 

to convert relative links in a html page to full links, i need to get the
host and directory part of a url. e.g. from
"http://www.hostname.com/directory/file.html"; i need
"http://www.hostname.com/directory/"; with zend_uri you get the host part
with ->getHost(). but then there's only ->getPath() which returns  
"/directory/file.html" .

how do i get just the directory part with zend_uri?

or what is a bulletproff regex to extract the directory-part from the
path-part?

thanx
 mike
-- 
View this message in context: 
http://www.nabble.com/zend_uri%3A--%3EgetDir%28%29-missing--tf4039846s16154.html#a11477201
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to