hey guys, the browser gives the following error when i open my webpage.
Line: 49
Char: 1
Error: 'null' is null or not an object
Code: 0
URL : http://www.worldofpakistan.net/register.php
the code of the page is as follows:
<!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" xml:lang="en" lang="en">
<head><title>MN Tech Solutions Blog Software--Registeration Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="keyword" content="" />
<meta name="description" content=" " />
<meta http-equiv="content-language" content="en" />
<script type="text/javascript" src="nifty.js"></script>
<!--Software House: MN Tech Solutions-->
<!--Designer/Programmer: Mustafa Neguib-->
<!--Date Project Started: 17th June 2008-->
<?php
include 'browsercheck.php';
?>
<style type="text/css">
<!--
-->
</style>
</head>
<body>
<div id="div1">
<script type="text/javascript">
window.onload=function(){
if(!NiftyCheck())
return;
Rounded("div#first","#EFF6F9","#9BD1FA");
Rounded("div#second","#EFF6F9","#9BD1FA");
Rounded("div#third","#EFF6F9","#9BD1FA");
}
</script>
<div id="div2">
<div id="div8">
<img src="logo.jpg" title="Banner" alt="Banner" />
</div>
</div>
<div id="div3">
<div id="main">
<ul>
<li><a href="index.php" title="Home Page">Home Page</a></li>
<li><a href="login.php?abcdghsjau=1" title="Login Page">Login</a></li>
<li><a href="show.php" title="Read an Article">Read an Article</a></li>
</ul>
</div>
</div>
<div id="div4">
<div id="first">
<h2>Registration Page</h2>
<p>
Please fill out the following form in order to register on this site.
Also provide a real email address as we will send updates to you at the email address provided.
</p>
<form method="post" action="insertuser.php">
<p>
First Name: <input type="text" name="fname" />
</p>
<p>
Last Name: <input type="text" name="lname" />
</p>
<p>
Username: <input type="text" name="username" />
</p>
<p>
Password: <input type="password" name="password" />
</p>
<p>
Email: <input type="text" name="email" />
</p>
<p>
Country: <input type="text" name="country" />
</p>
<p>
Age: <input type="text" name="age" />
</p>
<p>
<input type="submit" value="submit" name="Submit" />
<input type="reset" value="Clear All" name="reset" />
</p>
</form>
</div>
</div>
<div id="div7">
<?php include'copyright.html';?>
</div>
</div>
</body>
</html>
the same error is coming on all my pages, except my home page which is quite puzzling as that area of error is the same for all the pages.
thanx in advance