My Awesome Contest - Win $5

Status
Not open for further replies.

knukk

Mоderatоr
Jul 6, 2008
705
13
0
So, I thought I would keep the contest rally going with my awesome $5 prize (moving out this fall, so I'm saving!). I have put online a web page which has a secret code hidden. Find it and become rich!

Contest link: http://drpolit.com/contest/

Payment is via PayPal!
 


Fucking trollers.:D

The two first: the time stamps on your posts are equal, but since jbubs1975's post's ID is lower than papajohn56's, it means jbubs1975 was first. PM me your PayPal :)

subigo: lol, fu

I was hoping more were gonna be like pfgannon to start off with :(

MY CONTEST PWNS!!111
 
Fucking trollers.:D

The two first: the time stamps on your posts are equal, but since jbubs1975's post's ID is lower than papajohn56's, it means jbubs1975 was first. PM me your PayPal :)

subigo: lol, fu

I was hoping more were gonna be like pfgannon to start off with :(

MY CONTEST PWNS!!111

we might have posted at the same time just the script randomized the order of posts HOW ABOUT THAT
 
If anyone is interested in the codes:
index.php:
PHP:
<?php

session_start();

$_SESSION["lulz"] = true;

?>
<html>
<head>
<script language="JavaScript" src="script.js">
</script>
</head>
<body>
Lulz!! Find the secret code and become rich lullzlzlzlzulz!!
</body>
</html>
script.php:
PHP:
<?php
session_start();

if($_SESSION["lulz"])
{
    header("Content-type: text/javascript");

?>

alert("Find the secret keyphrase with this code!");
//SECRET CODE = "SONYERICSSON"

<?
$_SESSION["lulz"] = false;
}
else
{
?>
// Lols! Doesn't look like there is any code here m8!
<?php
}


?>
.htaccess:
Code:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^(.*)\.js$ $1.php [NC]

For those of you who are interested in knowing how to solve it when you can't find it by going to "script.js":
You can use a plugin like Firebug for Firefox. The plugin will tell you what code Firefox read to view the page, and thus you will find the javascript code.
 
Status
Not open for further replies.