I have a nice php page which I guess anyone can run. I want to make it so that only I can run it
heres my page,
<?php
if(isset($_POST['submit'])) {
include $_SERVER['DOCUMENT_ROOT'].'/db/config.php';
...
...
}
?>
So im thinking I need to make sure the page im coming from is mine and in order to ensure its coming from my computer (Is there a way to also check the IP address?
Thanks…