I've had a few problems with PHP Includes done at the directory level. Particularly with the $root variable I mentioned in a previous post.
34sp pointed out that, "If you simply use the $_SERVER['DOCUMENT_ROOT']."/path/to/file" it is more secure", so that's what I'm doing now.
Monday, May 05, 2008
Subscribe to:
Posts (Atom)