php: Very simple private page

Forum for anything hard- or software related.

Moderator: Moderators

Post Reply
Reloiz
sank like a rock
Posts: 118
Joined: Mon Jul 28, 2003 6:08 am
Location: fi
Contact:

php: Very simple private page

Post 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?
Image
Den
something dur dur
Posts: 2616
Joined: Fri Jul 25, 2003 8:56 am
Location: nl
Contact:

Post by Den »

not the best password protection but it will do :)
There's a chopper coming in 3 days and there's a katana on top of the cafe and that's all you need to know
Image
Reloiz
sank like a rock
Posts: 118
Joined: Mon Jul 28, 2003 6:08 am
Location: fi
Contact:

Post by Reloiz »

I think not many can even come up with that. Or even anything near that :P
Image
Den
something dur dur
Posts: 2616
Joined: Fri Jul 25, 2003 8:56 am
Location: nl
Contact:

Post by Den »

sure they will :) its only basic php, no fancy stuff :)
There's a chopper coming in 3 days and there's a katana on top of the cafe and that's all you need to know
Image
Reloiz
sank like a rock
Posts: 118
Joined: Mon Jul 28, 2003 6:08 am
Location: fi
Contact:

Post by Reloiz »

Ahem.. I know ppl who dont even know how to reboot your computer :)
Image
DaNi
is legless
Posts: 569
Joined: Sun Jul 27, 2003 1:27 am
Location: it
Contact:

Post by DaNi »

wtf is rebooting ?! :shock:



:)
Enjoy without expectations, then you will have no disappointment. Pain is temporary...pride is forever.

siete tutti dei gay figli di puttana
Den
something dur dur
Posts: 2616
Joined: Fri Jul 25, 2003 8:56 am
Location: nl
Contact:

Post by Den »

*strokes dani*



dani sux with comps, but rox in bed :oops:
There's a chopper coming in 3 days and there's a katana on top of the cafe and that's all you need to know
Image
Zavior
is connecting
Posts: 22
Joined: Mon Jul 28, 2003 6:20 am
Location: fi

Post by Zavior »

DaNi wrote:wtf is rebooting ?! :shock:



:)
Just stop chainsaw with your genitals. :oops:
#clan.smt
Reloiz
sank like a rock
Posts: 118
Joined: Mon Jul 28, 2003 6:08 am
Location: fi
Contact:

Post by Reloiz »

DaNi wrote:wtf is rebooting ?! :shock:


You do that so you can watch webcamporn (or play quake) with less lag :D
Image
Guenhwyvar
is connecting
Posts: 15
Joined: Tue Jul 29, 2003 3:58 am
Location: it

Post by Guenhwyvar »

DaNi wrote:wtf is rebooting ?! :shock:


You don't want to know...
Pantteli - Fear is how I fall...
Overii
sank like a rock
Posts: 116
Joined: Fri Jul 25, 2003 9:13 am
Location: jm

Post 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
ich bin das kopf o/
Post Reply