hi

i need to parse an URL with the next values:

        http://www.something.com/section/subsection/.../page.html


        translating this URL: 
                        section and subsection and ... are variables referred as ID's 
                        is a MySQL database. by getting the 'page' in 'page.html' i 
know                        
what i am looking for in the same database.
        What i need is parsing all variables between the '/' and the laste
variable with '.html'
        What is this for: i want the user to know where he is on my site. I
think that by using the common system
(likehttp://www.something.com?sid=34&subid=5&p=2 ) the user would have
difficulties to read. You have an example in www.freshmeat.net.

        I know that this system must use a DefaultHandler (DHandler i guess) in
Apache server where it parses and checks the url to not result in the
ERROR 404 code. 

        Is this possible in PHP? How can i do it? is there any script out there
where i could download it?

        Tanx anyway !

Sergio

Reply via email to