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).
--
> 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
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
3 matches
Mail list logo