Hey all,
I have employed TIM's trick (see article http://www.phpbuilder.com/columns/tim20000526.php3) in various flavors and they all seem to work. Almost.
Tim used the following code...
<Files local>
ForceType application/x-httpd-php3
</Files>
The URL trick is really cool and it is so powerful but for some reason I can't seem to get my cookies and sessions to work. Has anyone run into this problem and do you know how to fix it?
It appears that when the files fall under "http://yourdomain/local/" cookies don't seem to work. In fact, when I run a phpinfo() script, one under "/local/" (such as http://yourdomain/local/phpinfo.php) and one not under "/local/" (such as http://yourdomain/phpinfo.php) the PHP Environment variables are different. It looks like, from comparing these files, that when a script falls under "/local/" the HTTP_SERVER_VARS["HTTP_USER_AGENT"] is the server itself. I just don't know enough about Apache to understand this.
ANY HELP OUT THERE?
Thank you in advance.
Piet