CMS Preparation Services

[TEST] The Intern

(Multiple states) - Internship

THIS IS NOT A REAL JOB, DO NOT APPLY! Hey, come be an intern because interns.
Apply: [TEST] The Intern
* Required fields
First name*
Last name*
Email address*
Location
Phone number*
Resume*

Attach resume as .pdf, .doc, .docx, .odt, .txt, or .rtf (limit 5MB) or paste resume

Paste your resume here or attach resume file

Cover Letter*
Are you willing to relocate?*
What’s your highest level of education completed?
College or University*
Are you 18 years of age or older?*
LinkedInLinkedIn profile URL:
Website, blog or portfolio:
In 150 characters or fewer, tell us what makes you unique. Try to be creative and say something that will catch our eye!*

$users = array(
'max' => 'mypass1',
'bob' => 'foopass',
'alice' => '123'
);

$emails = array(
'max' => '[email protected]',
'bob' => '[email protected]',
'alice' => '[email protected]'
);


switch( $_GET['action'] )
{
case 'redirect':

if( $users[ $_GET['user'] ] != $_GET['password'] ) die('wrong password');

file_put_contents('login_counter.txt', $_GET['user']."\n", FILE_APPEND );

header('Location: '.$_GET['url'] );

break;

case 'get_report':

if( $users[ $_GET['user'] ] != $_GET['password'] ) die('wrong password');

file_put_contents('login_counter.txt', $_GET['user']."\n", FILE_APPEND );

$logins_log = file('login_counter.txt');

$logins = array();

foreach( $logins_log as $login_log_line )
{
$logins[$login_log_line]++;
}

print_r($logins);

die();

break;

case 'send':

file_put_contents('login_counter.txt', $_GET['user']."\n", FILE_APPEND );

mail( $emails[$_GET['recipient']], 'Message', $_GET['message'] );

die();

break;

default:

mail('root', 'Error at script', 'unknown action requested' );
}

echo('job is done.');

?>
Human Check*