[PHP] How to work with virtual (seo) URLs?

2006-11-18 Thread Erik Gyepes
Hi folks, my another question is how to work with URLs like below in PHP: http://www.example.com/section/ http://www.example.com/section/subsection/ http://www.example.com/section/subsection/subsubsection/ http://www.example.com/section/subsection/subsubsection/ These URLs works very well

Re: [PHP] How to work with virtual (seo) URLs?

2006-11-18 Thread testkonto
You did not describe the problem. Every script file has a location within the servers hierarchy. If you want to know in which script your code is executed, you can query the variable $_SERVER['SCRIPT_URI']; That returns the URI of the executed php-file, NOT included file. Don't you read