Now, i'm not a fan of PHP - it's HTML, xHTML, sHTML, Java all the way for me but i decided that probably the most secure logins are PHP based, this being the case I set off on a mission to make a PHP login but came accross a little hitch that means it simply does not work - basically it only reads about 50% of the page as PHP and the rest it seems to assume is HTML =/
For instance PHP_SELF should run the script to the current PHP page if i'm not mistaken? but instead this piece of code:
<form action="<?=$_SERVER['PHP_SELF']?>" method="post">
is intent on trying to find a page called:
<?=$_SERVER['PHP_SELF']?>
See, in HTML i'd assume that to happen as it's in inverted commas but... I assume PHP is meant to do something else? ... Lol. yeah so any help would be ... helpful x]





Reply With Quote




