Trigs
16-03-2009, 11:02 PM
cause I was bored and felt like making my friend **** one day...
<html>
<body>
<?php
$msg = 'pgmr.co.uk ftw';
if(empty($_POST['submit']) === false) {
while(1 == 1) {
echo '
<script language="javascript">
alert(\''.$msg.'\');
</script>
';
}
} else {
echo '
<form method="post" action="">
<input type="submit" value="Bored? Click Here?" name="submit" />
</form>
';
}
?>
</body>
</html>
only works with js enabled
<html>
<body>
<?php
$msg = 'pgmr.co.uk ftw';
if(empty($_POST['submit']) === false) {
while(1 == 1) {
echo '
<script language="javascript">
alert(\''.$msg.'\');
</script>
';
}
} else {
echo '
<form method="post" action="">
<input type="submit" value="Bored? Click Here?" name="submit" />
</form>
';
}
?>
</body>
</html>
only works with js enabled