Re: [PHP] Calling Files from a different directory

2002-10-03 Thread Rick Beckman
Sarcasm aside, I do have the script set up (although I didn't note so in the last response) to not accept files with '.' or '..' in the path. The URL can accept directories within the one the PHP script is in, but not in a different path or any directory above its own (i.e., the server files). --

RE: [PHP] Calling Files from a different directory

2002-10-03 Thread John W. Holmes
> I have a page set up that loads the contents of a text file into an HTML > template using PHP. (i.e. something.com/page.php?include=1 where "1" is a > simple no-extension text file in the same directoy as page.php). Is there > a > way to modify the PHP code in the template page to search for the

[PHP] Calling Files from a different directory

2002-10-03 Thread Rick Beckman
I have a page set up that loads the contents of a text file into an HTML template using PHP. (i.e. something.com/page.php?include=1 where "1" is a simple no-extension text file in the same directoy as page.php). Is there a way to modify the PHP code in the template page to search for the included