Page 1 of 1

php: Very simple private page

Posted: Mon Jul 28, 2003 3:55 pm
by Reloiz
I think this is pretty useful to some people. It's very easy to understand, and easy to edit. Remember to name it private.php.


Code: Select all


<title>Private page © Reloiz</title>

<body style=font-family:tahoma;font-size:13px;color:black>

<?php 

if(!isset($password))  {

?>

<form action=private.php method=post>

Enter password<br>

<input name=password type=password>

</form>

<?php }

else if($password == Your-password-here) {

?>



<!-- Private page begins here -->

Welcome to private section.<br>

Here you can put cheats, demos, tactics, what you ever want, and only your members and hackers will

know about it :)

<!-- Private page ends here -->



<?php }

else print Wrong password.<br> <a href=\javascript:history.go(-1);\>Back</a>;

?>

</body>



Any questions?

Posted: Mon Jul 28, 2003 6:32 pm
by Den
not the best password protection but it will do :)

Posted: Mon Jul 28, 2003 7:24 pm
by Reloiz
I think not many can even come up with that. Or even anything near that :P

Posted: Mon Jul 28, 2003 7:29 pm
by Den
sure they will :) its only basic php, no fancy stuff :)

Posted: Mon Jul 28, 2003 8:05 pm
by Reloiz
Ahem.. I know ppl who dont even know how to reboot your computer :)

Posted: Tue Jul 29, 2003 3:48 am
by DaNi
wtf is rebooting ?! :shock:



:)

Posted: Tue Jul 29, 2003 5:02 am
by Den
*strokes dani*



dani sux with comps, but rox in bed :oops:

Posted: Tue Jul 29, 2003 5:23 am
by Zavior
DaNi wrote:wtf is rebooting ?! :shock:



:)
Just stop chainsaw with your genitals. :oops:

Posted: Tue Jul 29, 2003 6:24 am
by Reloiz
DaNi wrote:wtf is rebooting ?! :shock:


You do that so you can watch webcamporn (or play quake) with less lag :D

Posted: Tue Jul 29, 2003 8:38 am
by Guenhwyvar
DaNi wrote:wtf is rebooting ?! :shock:


You don't want to know...

Posted: Fri Aug 01, 2003 8:40 am
by Overii
Reloiz wrote:I think not many can even come up with that. Or even anything near that :P


true :) didnt understand a thing of it :P