Hey! I have a site, a folder, and a .php file inside of that folder... so it would be: http://www.example.com/foldername/phpfile.php well, would it effect my security to make that URL: http://www.example.com/foldername/?phpfile
??
I would create a index.php file inside that folder to be the root / main file.
index.php
<?php
if (isset($_GET['phpfile']))
{
include('phpfile.php');
}
else
{
echo "Invalid Page!";
}
?>
Am I doing it correct? Or is there a better way to do it? And will it effect the security of my site? Also, give me your opinion on me actually doing this for most of my sites logged in members!
Thanks in advance!