Martin,

I am very sorry too because I have not understood well

Here it is:

>> url: http://www.lorenz.cim.br/cgi-bin/x.cgi
== http://www.lorenz.cim.br/cgi-bin/x.cgi

>> set [url index] split-path url
== [http://www.lorenz.cim.br/cgi-bin/ %x.cgi]

>> print index
x.cgi

>> print url
http://www.lorenz.cim.br/cgi-bin/

Carlos Lorenz


Em Qua 22 Out 2003 13:23, martin mauchauffee escreveu:
> sorry for my english
>
> yes,
> exactly I want to extract all the path after the hostname
>
> > Ah, you want to extract the "directory part" of the url ?
> >
> > http://sub.site.com/index.r          ->  http://sub.site.com/
> > http://sub.site.com/foo/dir/index.r  ->  http://sub.site.com/foo/dir/
> >
> > Anton.
> >
> >> Sorry for my englsih
> >> I use the "DirectoryIndex" command in the rootfile ".htaccess" to
> >> redirect
> >> all the document like "DirectoryIndex /index.r"
> >>
> >> If the URL is http://sub.site.com/ or http://sub.site.com/foo/dir the
> >> loaded document is "index.r"
> >> then I need to determine the URL to do want I want
> >>
> >> > Do you mean system/options/cgi/query-string ?
> >> >
> >> > Carlos
> >> >
> >> > Em Ter 21 Out 2003 16:15, martin mauchauffee escreveu:
> >> >> sorry for my english
> >> >> a search for an equal fonctionality of $QUERY_STRING in PHP

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to