[PHP] Re: Using $PATH_INFO as variables (inspired by www.DevShed.com)

2002-01-30 Thread Mike Frazer
Looks to me like you're dealing with Apache rewrite rules, which goes beyond the scope of PHP. Mike Frazer "Dr.Bob" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have Apache on WinXP. > That sounds great what you write here, but does this also work when,

[PHP] Re: Using $PATH_INFO as variables (inspired by www.DevShed.com)

2002-01-30 Thread Dr.Bob
I have Apache on WinXP. That sounds great what you write here, but does this also work when, for example, I have that file index.php in www.mycompany.com and when I access the URL with www.mycompany.com/projects that he sees it as www.mycompany.com/index.php?var=projects ? Or does it only work whe

[PHP] Re: Using $PATH_INFO as variables (inspired by www.DevShed.com)

2002-01-30 Thread Mike Frazer
What server are you running on? In Apache, if you add any filename to the DirectoryIndex line, it will display that page from any directory without specifying the filename. It comes default with pages like index.htm, index.html and index.shtml. If you add, for instance, index.php (some distros