$_self not working w/a dynamic page.
From what i have read up self will automatically take the user to the index page, which is what is happening to me. Rather than showing the results on the "guestbook.inc.php file wich the code is on.
<?php echo htmlentities ($_SERVER['$_SELF.PHP']); ?>" method="POST">
(subbing the directory & file name)
<?php echo htmlentities ($_SERVER['pages/guestbook.inc.php']); ?>" method="POST">
but got a 403 error.
still searching for how to fix this. Anyone here has any suggestions or could point me to a good clear link?
Was looking at stack overflow but this guy's answer had six or more line of codes and a new function to redirect the link. Thougth there would be a simpler solution?