url-mit-passwort.php
Quell Code
<?php if(isset($_GET['user'])=='basti' and isset($_GET['password'])=='1234'){ ?> <h1>Hallo <?php echo htmlspecialchars($_GET['user']); ?></h1> Dein weiterer Inhalt http://sebastian1012.bplaced.net/loesungen/tutorials/url-mit-passwort.php?user=basti&password=1234 <?php }else{ echo "Zugang verweigert "; } ?>