diff --git a/site/login/login/libs/config.php b/site/login/login/libs/config.php index f0edaa6b..425cef07 100644 --- a/site/login/login/libs/config.php +++ b/site/login/login/libs/config.php @@ -3,10 +3,10 @@ define('DB_USER', 'root'); define('DB_PASSWORD', ''); define('DB_DATABASE', 'mibew'); -------------------- //Maynot be needed it is deleteable, not sure if it's needed for profile page. $link = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); $db = mysql_select_db(DB_DATABASE); $result = mysql_query("SELECT * FROM members") or die(mysql_error()); + ?> \ No newline at end of file diff --git a/site/login/login/register-success.php b/site/login/login/register-success.php index 3ab93a5e..b893bb8a 100644 --- a/site/login/login/register-success.php +++ b/site/login/login/register-success.php @@ -6,7 +6,7 @@ -

Registration Successful

-

Click here to login to your account.

+
Registration Successful
+

Click here to login to your account.

diff --git a/site/login/login/server_test.php b/site/login/login/server_test.php deleted file mode 100644 index 33d7c3b3..00000000 --- a/site/login/login/server_test.php +++ /dev/null @@ -1,3 +0,0 @@ - -<?php

/**
Securimage Test Script
Version 1.0 - 01/02/2008

Upload this PHP script to your web server and call it from the browser.
The script will tell you if you meet the requirements for running Securimage.

http://www.phpcaptcha.org
*/


if (isset($_GET['testimage']) && $_GET['testimage'] == '1') {
  
$im imagecreate(225225);
  
$white imagecolorallocate($im255255255);
  
$black imagecolorallocate($im000);
 
  
$red   imagecolorallocate($im255,   0,   0);
  
$green imagecolorallocate($im,   0255,   0);
  
$blue  imagecolorallocate($im,   0,   0255);

  
// draw the head
  
imagearc($im100120200200,  0360$black);
  
// mouth
  
imagearc($im10012015015025155$red);
  
// left and then the right eye
  
imagearc($im,  60,  95,  50,  50,  0360$green);
  
imagearc($im140,  95,  50,  50,  0360$blue);

  
imagestring($im5151'Securimage Will Work!!'$blue);
  
imagestring($im2520':) :) :)'$black);
  
imagestring($im2530':) :)'$black);
  
imagestring($im2540':)'$black);

  
imagestring($im215020'(: (: (:'$black);
  
imagestring($im216830'(: (:'$black);
  
imagestring($im218640'(:'$black);

  
imagepng($imnull3);
  exit;
}

function 
print_status($supported)
{
  if (
$supported) {
    echo 
"<span style=\"color: #00f\">Yes!</span>";
  } else {
    echo 
"<span style=\"color: #f00; font-weight: bold\">No</span>";
  }
}

?>
<html>
<head>
  <title>Securimage Test Script</title>
</head>

<body>

<h2>Securimage Test Script</h2>
<p>
  This script will test your PHP installation to see if Securimage will run on your server.
</p>

<ul>
  <li>
    <strong>GD Support:</strong>
    <?php print_status($gd_support extension_loaded('gd')); ?>
  </li>
  <?php if ($gd_support$gd_info gd_info(); else $gd_info = array(); ?>
  <?php if ($gd_support): ?>
  <li>
    <strong>GD Version:</strong>
    <?php echo $gd_info['GD Version']; ?>
  </li>
  <?php endif; ?>
  <li>
    <strong>TTF Support (FreeType):</strong>
    <?php print_status($gd_support && $gd_info['FreeType Support']); ?>
    <?php if ($gd_support && $gd_info['FreeType Support'] == false): ?>
    <br />No FreeType support.  Cannot use TTF fonts, but you can use GD fonts
    <?php endif; ?>
  </li> 
  <li>
    <strong>JPEG Support:</strong>
    <?php print_status($gd_support && $gd_info['JPG Support']); ?>
  </li>
  <li>
    <strong>PNG Support:</strong>
    <?php print_status($gd_support && $gd_info['PNG Support']); ?>
  </li>
  <li>
    <strong>GIF Read Support:</strong>
    <?php print_status($gd_support && $gd_info['GIF Read Support']); ?>
  </li>
  <li>
    <strong>GIF Create Support:</strong>
    <?php print_status($gd_support && $gd_info['GIF Create Support']); ?>
  </li>
 
</ul>

<?php if ($gd_support): ?>
Since you can see this...<br /><br />
<img src="<?php echo $_SERVER['PHP_SELF']; ?>?testimage=1" alt="Test Image" align="bottom" />
<?php else: ?>
Based on the requirements, you do not have what it takes to run Securimage :(
<?php endif; ?>

</body>
</html>
-
\ No newline at end of file