$Content =
"include('$Content');";
Depending on PHP configuration this can produce an error message if the
file is not present. (Such error messages can include the full path to
the files on your server, which some consider dangerous information..."
I thought of this and tested it - the server I'm on has debug messages
turned off - all I get is a blank. However for my own purposes I could
test if include() returns a true or false value (provided the included
file returns nothing) and give a custom error message?
It also might produce very undesirable results given a request for
something like "index.php" or "redirect.php" which is in the current
directory or include path but is not supposed to be (re-)executed in
the middle of the wiki.
Yes I should have remembered this - a simple solution I can think of
is to specify a subfolder dedicated just to my own php files.
Apart from that, thanks for all the points - as you can probably tell,
I'm just learning all this stuff, so your comments are really
appreciated =)
Regards,
Taneem Talukdar