you can see it working here, that it doesn't work:
http://vba.lescigales.org/serialcheck.php
the code i used is this:
it always says allowed..PHP Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<form id="form1" name="form1" method="post" action="">
<label>
<input type="text" name="serial" id="serial" />
</label>
<label>
<input type="submit" name="button" id="button" value="Submit" />
</label>
</form>
<?php
$a = "9d5e3ecdeb4cdb7acfd63075ae046672";
$b = "lol";
if($_POST['serial'] = "")
{
//do nothing, it's empty!
}
else
{
if($_POST['serial'] == $a or $b)
{
//Do something here to tell the dude he's allowed!
echo "allowed!";
}
else
{
echo "not allowed";
}
}
?>
</body>
</html>
thanks for helping..
- Shadows.




Reply With Quote