Jump to content
Dragos

[1] Web Solver Challenge (WSC)

Recommended Posts

  • Moderators

Mi-a venit ideea aceasta dupa ce am participat la concursul organizat de Andrei pe worldit.info.

Mai jos aveti un cod simplu in PHP si HTML. Incercati sa gasiti cele zece erori din script si sa-mi trimiteti prin PM codul reparat. Cei ce rezolva challenge-ul vor fi afisati in lista cu castigatori.


<html>
<head>
<title>WSC 01</title>
</head>
<body>
<center>
<h1>WSC 01</h1>
<a href="?pag=">Index</a> | <a href="?p=parteneri">Parteneri</a> | <a href="?pag=contact">Contact</a>
<br /><br />
<?php
if ($GET['pag']==NOTHING)
{
echo "Bun venit pe index " . $_SERVER['REMOTE_ADDR'] ".";
elseif($_GET['pag']=="parteneri"){
echo "<a href="http://rstcenter.com/'>RST Center</a>";
}elseif ($_GET['pag']=="contact"{
echo "Pentru a ma contacta, trimite-mi un email la user@domain.tld.';
}else{
Pagina cautata nu exista.
?>
<br /><br />
© 2011 Synthesis @ <a href="http://rstcenter.com">RST</a>
</center>
</body>
</html>

Castigatori

  • Robert1995
  • hammerfall
  • crs12decoder

Edited by Dragos
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...