Jump to content

my php wont work on my server either *cannot be found* when is cleary there.


jamesxg1

Recommended Posts

Hiya peeps,

 

Here's my site iv only just started it but it isnt working the script is fine i just cant seem to get it to display anything on the screen except *Remote server or file not found* or just a blank screen,

 

The url is http://www.easyta.co.uk

 

Go to this its my simple login page .php formatted,

 

http://www.easyta.co.uk/login.php

 

Many thanks,

 

James.

None of mine,

 

But my support team put a script on there some basic sh*t with php info and it worked but none of mine are,

 

Would you like me to PM you the login ?,

 

Thanks for the reply thorpe,

 

James.

Here's the login script so you can see what sort of coding i do :),

 

<?php

error_reporting(E_ALL);

include 'includes/commands.inc.php';

$command = new Command();
$command->MYSQLConnection();
$command->IsLoggedIn();

if(isset($_POST['login'])) {

$login = $command->Login($_POST['username'], $_POST['password']);

}

  
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" id="vkontakte">
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1251" />
<title>EasyTA || Login</title>

<link rel="stylesheet" href="core/css/home.css" type="text/css" />
	   <script language='JavaScript' src='core/js/gen_validatorv5.js' type='text/javascript'>
   </script>
   <script language='JavaScript' src='core/js/sfm_moveable_popup.js' type='text/javascript'>
   </script>

   <style type='text/css'>
.error_strings
{
    font-family:Verdana;
    font-size:10px;
    color:#660000;
}
.sfm_float_error_box
{
    position:absolute;
    z-index:999;
    cursor:default;
    font-family:Verdana;
    font-size:10px;
    color:#660000;
    background-color:#ffff66;
    border-style:solid;
    border-width:1px;
    border-color:#660000;
}
.sfm_float_box_td
{
    padding:3px;
    cursor:default;
    font-family:Verdana;
    font-size:10px;
    color:#660000;
    background-color:#ffff66;
}
.sfm_close_box
{
    font-family:Verdana;
    font-size:10px;
    font-weight:bold;
    color:#ffffff;
    background-color:#660000;
    border-width:0px;
    text-align:center;
}
.sfm_textbox
{
    padding:2px;
}
.sfm_textarea
{
    padding:2px;
}
   </style>
   <div id='registerone_errorloc' class='error_strings' style=''>
   </div>
</head>

<body>

<div id="pageLayout">

<!-- pageHeader -->

  <div id="pageHeader">

   <h1 id="home"><a href="index.php">Home</a></h1>


   <ul class="topNav" style='padding-right:5px'>
    <li style="width:5.5em"><a href='/faq.php'>Help</a></li>
    <li style="width:7.8em"><a href='register.php'>Register</a></li>
    <li style="width:4.0em"><a href='login.php'>Login</a></li>
   </ul>

  </div>

<!-- End pageHeader -->

<!-- sideBar -->

  <div id="sideBar">

   
   <ol id='nav'>
    <li><a href='index.php'><font color="black">Home</a></font></li>
    <li><a href='login.php'><font color="black">About Us</a></font></li>
    <li><a href='contactus.php'><font color="black">Services</a></font></li>
    <li><a href='contactus.php'><font color="black">Contact Us</a></font></li>
    <li><a href='complain.php'><font color="black">Complain</a></font></li>
    <li><a href='login.php'><font color="black">Order Now</a></font></li>
    <li><a href='search.php'><font color="black">Search</a></font></li>
    <li><a href='login.php'><font color="black">Login</a></font></li>
    <li><a href='register.php'><font color="black">Register</a></font></li>
    <li><a href='faq/gue/index.php'><font color="black">Help</a></font></li>
   </ol>

   <div style="width:124px">
</div>
   
  </div>

<!-- End sideBar -->

<!-- pageBody -->

  <div id="pageBody" class="pageBody">

  <div id="wrapH">
  <div id="wrapHI">
   <div id="header">
    <h1><?php echo @$login; ?></h1>
   </div>
  </div>
  </div>

  <div id="wrap2">
  <div id="wrap1">
   <div id="content">


<div id="message_text">

</div>

<div class="simplePage">

<form method="post" name="login" id="login" action="">
  <table align="center" cellpadding=0 cellspacing=7 border=0 width="40%">
   <tr>
    <td width="100px">
     <span class="grey">Username:</span>
    </td>
    <td>
     <input class="inputText" type="text" name="username" value="" id="username" size="25" />
    <td>
   </tr>
   <tr>
    <td>
     <span class="grey">Password:</span>
    </td>
    <td>
     <input class="inputText" type="password" name="password" value="" id="password" size="25" />
    </td>
   </tr>
   <tr>
    <td>
      
    </td>
    <td>
<div style="height:20px; margin:5px 0px">
<ul class='nNav'><li style="margin-left:0px">
<b class="nc"><b class="nc1"><b></b></b><b class="nc2"><b></b></b></b>
<span class="ncc"><input type="submit" value="Login" name="login" id="login"></span>
<b class="nc"><b class="nc2"><b></b></b><b class="nc1"><b></b></b></b>
</li>
</ul>
</div>

    </td>
   </tr>
   <tr>
    <td>
      
    </td>
    <td class="forgotPass">
     <a href="login.php?op=forgot">Forgot password?</a>
    </td>
   </tr>

  </table>
</form>
   <script language='JavaScript' type='text/javascript'>
var loginValidator = new Validator("login");

loginValidator.EnableOnPageErrorDisplay();
loginValidator.SetMessageDisplayPos("right");

loginValidator.EnableMsgsTogether();
loginValidator.addValidation("username","req","Please fill in username");
loginValidator.addValidation("username","alnum_s","The input for username should be a valid alpha-numeric value");
loginValidator.addValidation("password","req","Please fill in password");
loginValidator.addValidation("password","alnum_s","The input for password should be a valid alpha-numeric value");
   </script>
</div>


   </div>
  </div>
  </div>

  </div>
  <div id="boxHolder"></div>

<!-- End pageBody -->



<!-- bFooter -->
<div id='bFooter' style='font-size:11px; margin-left:110px'><b>The New Beta Version.</b></div>

  <div id="bFooter">
   <p>©opyright of EasyTA</p>
  </div>


<!-- End bFooter -->

</div>

<!-- End pageLayout 736 -->

</body>
</html>

 

Many thanks,

 

James.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.