[ Variable Problems ]
| From: | [ rswfire ] | Date: | Tue, 16 Apr 2002 00:53:34 +0000 |
| Subject: | [ Variable Problems ] | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-93111@lists.php.net to get a copy of this message | ||
I have created a website that works somewhat uniquely. Every page is created using the root index.php file. I have an .htaccess document that redirects all 404 errors to this index.php file.
So if someone access www.mydomain.com/mypage.html the index.php file is called and knows what to do. The problem I am having is that it throws off all of the variables in PHP. First of all, if the page is called using a form the POST variables are not posted. Secondly, included files do not seem to be able to access global variables in the same way.
What can I do????
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.