back after a 5 week vacation to my homeland of Greece. sorry if i am a bit rusty on my code skills!
i am uploading a website from a testing enviroment to the web.
and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:
Code: Select all
session_start();
ob_start();
$username = $_POST["username"];
$password = $_POST["password"];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("Could not select database!" .mysql_error());
$sql = "select * from tbl_admin where a_username = '$username'";
$result = mysql_query($sql) or die("Execution failed: ".mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($row["a_password"] == $_POST["password"])
{
echo"<br /> right password";
header('Location: /admin/admin.php');
$_SESSION["name"] = $username;
$_SESSION["loggedin"] = "set";
}
else
cross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POST["username"];
$password = $_POST["password"];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("e;Could not select database!"e; .mysql_error());
$sql = "e;select * from tbl_admin where a_username = '$username'"e;;
$result = mysql_query($sql) or die("e;Execution failed: "e;.mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($rowї"e;a_password"e;] == $_POSTї"e;password"e;])
{
echo"e;<br /> right password"e;;
header('Location: /admin/admin.php');
$_SESSIONї"e;name"e;] = $username;
$_SESSIONї"e;loggedin"e;] = "e;set"e;;
}
else
{
echo "e;<br />wrong password"e;;
header('Location: http://survey.steelandtube.co.nz/admin/ ... ignin.php');
}
}
[/php:1haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("e;Could not select database!" .mysql_error());
$sql = "select * from tbl_admin where a_username = '$username'";
$result = mysql_query($sql) or Greece. sorry if i am a bit rusty on my code skills!
i am uploading a website from a testing enviroment to the web.
and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POSTї"e;username"e;];
$password = $_POSTї"e;password"e;];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("e;Could not select database!"e; .mysql_error());
$sql = "e;select * from tbl_admin where a_username = '$username'"e;;
$result = mysql_query($sql) or die("e;Execution failed: "e;.mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($rowї"e;a_password"e;] == $_POSTї"e;password"e;])
{
echo"e;<br /> right passing enviroment to the web.
and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POSTї"e;username"e;];
$password = $_POSTї"e;password"e;];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("e;Could not select database!"e; .mysql_error());
$sql = "e;select * from tbl_admin where a_username = '$username'"e;;
$result = mysql_query($sql) or die("e;Execution failed: "e;.mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($rowї"e;a_password"e;] == $_POSTї"e;password"e;])
{
echo"e;<br /> right password"e;;
header('Location: /admin/admin.php');
$_SESSIONї"e;name"e;] = $username;
$_SESSIONї"e;loggedin"e;] = "e;set"e;;
}
else
{
echo "e;<br />wrof Greece. sorry if i am a bit rusty on my code skills!
i am uploading a website from a testing enviroment to the web.
and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POST["username"];
$password = $_POST["password"];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("Could not select database!" .mysql_error());
$sql = "select * from tbl_admin where a_username = '$username'";
$result = mysql_query($sql) or die("Execution failed: ".mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($row["a_password"] == $_POST["password"])
{
echo"<br /> right password";
header('Location: /admin/admin.php');
$_SESSION["name"] = $username;
$_SESSION["loggedin"] = "set";
}
ge it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POST["username"];
$password = $_POST["password"];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("Could not select database!" .mysql_error());
$sql = "select * from tbl_admin where a_username = '$username'";
$result = mysql_query($sql) or die("Execution failed: ".mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($row["a_password"] == $_P
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POST["username"];
$password = $_POST["password"];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("Could not select database!" .mysql_error());
$sql = "select * from tbl_admin where a_username = '$username'";
$result = mysql_query($sql) or die("Execution failed: ".mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($row["a_password"] == $_POST["password"])
{
echo"<br /> right password";
header('Location: /admin/admin.php');
$_SESSION["name"] = $username;
$_SESSION["loggedin"] = "set";
}
else
{
echo "<br />wrong password";
header('Location: http://survey.steelandtube.co.nz/admin/ ... ignin.php');
}
}and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:
Code: Select all
session_start();
ob_start();
$username = $_POSTї"e;username"e;];
$password = $_POSTї"e;password"e;];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("e;Could not select database!"e; .mysql_error());
$sql = "e;select * from tbl_admin where a_username = '$username'"e;;
$result = mysql_query($sql) or die("e;Execution failed: "e;.mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($rowї"e;a_password"e;] == $_POSTї"e;password"e;])
{
echo"e;<br /> right password"e;;
header('Location: /admin/admin.php');
$_SESSIONї"e;name"e;] = $username;
$_SESSIONї"e;loggedin"e;] = "e;set"e;;
}
else
{
echo "e;<br />rom a testing enviroment to the web.
and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POSTї"e;username"e;];
$password = $_POSTї"e;password"e;];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("e;Could not select database!"e; .mysql_error());
$sql = "e;select * from tbl_admin where a_username = '$username'"e;;
$result = mysql_query($sql) or die("e;Execution failed: "e;.mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($rowї"e;a_password"e;] == $_POSTї"e;password"e;])
{
echo"e;<br /> right password"e;;
header('Location: /admin/admin.php');
$_SESSIONї"e;name"e;] = $username;
$_SESSIONї"e;loggedin&amafter a 5 week vacation to my homeland of Greece. sorry if i am a bit rusty on my code skills!
i am uploading a website from a testing enviroment to the web.
and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POSTї"e;username"e;];
$password = $_POSTї"e;password"e;];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("e;Could not select database!"e; .mysql_error());
$sql = "e;select * from tbl_admin where a_username = '$username'"e;;
$result = mysql_query($sql) or die("e;Execution failed: "e;.mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($rowї"e;a_password"e;] == $_POSTї"e;password"e;]) cation to my homeland of Greece. sorry if i am a bit rusty on my code skills!
i am uploading a website from a testing enviroment to the web.
and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POSTї"e;username"e;];
$password = $_POSTї"e;password"e;];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("e;Could not select database!"e; .mysql_error());
$sql = "e;select * from tbl_admin where a_username = '$username'"e;;
$result = mysql_query($sql) or die("e;Execution failed: "e;.mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($rowї"e;a_password"e;] == $_POSTї"e;password"e;])
{
echo"e;<br /> right password"e;;
header('Location: /admin/admin.php');
$_SESSIONї"e;name"e;] = $username;
$_SESSIONї"e;loggedin"e;] = "e;set"e;;
}
correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POSTї"e;username"e;];
$password = $_POSTї"e;password"e;];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("e;Could not select database!"e; .mysql_error());
$sql = "e;select * from tbl_admin where a_username = '$username'"e;;
$result = mysql_query($sql) or die("e;Execution failed: "e;.mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($rowї"e;a_password"e;] == $_POSTї"e;password"e;])
{
echo"e;<br /> right password"e;;
header('Location: /admin/admin.php');
$_SESSIONї"e;name"e;] = $username;
$_SESSIONї"e;loggedin"e;] = &quoe of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POST["username"];
$password = $_POST["password"];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("e;Could not select database!"e; .mysql_error());
$sql = "e;select * from tbl_admin where a_username = '$if i am a bit rusty on my code skills!
i am uploading a website from a testing enviroment to the web.
and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POST["username"];
$password = $_POST["password"];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("Could not select database!" .mysql_error());
$sql = "select * from tbl_admin where a_username = '$username'";
$result = mysql_query($sql) or die("Execution failed: ".mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($row["a_password"] == $_POST["password"])
{
echo"<br /> right password";
header('Location: /admin/admin.php');
$_SESSION["name"] = $username;
$_SESSION["loggedin"] = "set";
}
else
{
echo "<br />wrong password";
header('Location: http://survey.steelandtube.co.nz/admin/ ... ignin.php');
}
}i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:
Code: Select all
session_start();
ob_start();
$username = $_POSTї"e;username"e;];
$password = $_POSTї"e;password"e;];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("e;Could not select database!"e; .mysql_error());
$sql = "e;select * from tbl_admin where a_username = '$username'"e;;
$result = mysql_query($sql) or die("e;Execution failed: "e;.mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($rowї"e;a_password"e;] == $_POSTї"e;password"e;])
{
echo"e;<br /> right password"e;;
header('Loe skills!
i am uploading a website from a testing enviroment to the web.
and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POSTї"e;username"e;];
$password = $_POSTї"e;password"e;];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("e;Could not select database!"e; .mysql_error());
$sql = "e;select * from tbl_admin where a_username = '$username'"e;;
$result = mysql_query($sql) or die("e;Execution failed: "e;.mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($rowї"e;a_password"e;] == $_POSTї"e;password"e;])
{
echo"e;<br /> right password"e;;
header('Location: /admin/admin.php');
$_SESSIONї"e;name"e;] = $username;
$_SESSIONї"e;loggedin"e;] = "e;set"e;;
}
else
after a 5 week vacation to my homeland of Greece. sorry if i am a bit rusty on my code skills!
i am uploading a website from a testing enviroment to the web.
and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POST["username"];
$password = $_POST["password"];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("Could not select database!" .mysql_error());
$sql = "select * from tbl_admin where a_username = '$username'";
$result = mysql_query($sql) or die("Execution failed: ".mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($row["a_password"] ==n to my homeland of Greece. sorry if i am a bit rusty on my code skills!
i am uploading a website from a testing enviroment to the web.
and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POST["username"];
$password = $_POSTї"e;password"e;];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("e;Could not select database!"e; .mysql_error());
$sql = "e;select * from tbl_admin where a_username = '$username'"e;;
$result = mysql_query($sql) or die("e;Execution failed: "e;.mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($rowї"e;a_password"e;] == $_POSTї"e;password"e;])
{
echo"e;<br /&ame issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POSTї"e;username"e;];
$password = $_POSTї"e;password"e;];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("e;Could not select database!"e; .mysql_error());
$sql = "e;select * from tbl_admin where a_username = '$username'"e;;
$result = mysql_query($sql) or die("e;Execution failed: "e;.mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($rowї"e;a_password"e;] == $_POSTї"e;password"e;])
{
echo"e;<br /> right password"e;;
header('Location: /y homeland of Greece. sorry if i am a bit rusty on my code skills!
i am uploading a website from a testing enviroment to the web.
and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POST["username"];
$password = $_POST["password"];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("Could not select database!" .mysql_error());
$sql = "select * from tbl_admin where a_username = '$username'";
$result = mysql_query($sql) or die("Execution failed: &' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POST["username"];
$password = $_POST["password"];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("Could not select database!" .mysql_error());
$sql = "select * from tbl_admin where a_username = '$username'";
$result = mysql_query($sql) or die("Execution failed: ".mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($row["a_password"] == $_POST["password"])
{
echo"<br /> right password";
header('Location: /admin/admin.php');
$_SESSION["name"] = $username;
$_SESSION["loggedin"] = "set";
}
else
{
echo "<br />wrong password";
header('Location: http://survey.steelandtube.co.nz/admin/ ... ignin.php');
}
}i am uploading a website from a testing enviroment to the web.
and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:
Code: Select all
session_start();
ob_start();
$username = $_POSTї"e;username"e;];
$password = $_POSTї"e;password"e;];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("e;Could not select database!"e; .mysql_error());
$sql = "e;select * from tbl_admin where a_username = '$username'"e;;
$result = mysql_query($sql) or die("e;Execution failed: "e;.mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($rowї"e;a_password"e;] == $_POSTї"e;password"e;])
{
echo"e;<br /> right password"e;;
header('Location: /admin/admin.php');
$_SESSIONї"e;name"e;] = $username;
$_SESSIONї"e;loggedin"e;] = "e;set"e;;
}
eding a website from a testing enviroment to the web.
and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POST["username"];
$password = $_POST["password"];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("Could not select database!" .mysql_error());
$sql = "select * from tbl_admin where a_username = '$username'";
$result = mysql_query($sql) or die("Execution failed: ".mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($row["a_password"] == $_POST["password"])
{
echo"<br /> right password";
header('Location: /admin/admin.php');
$_SESSION["name"] = $username;
$_SESSION["loggedin"] = "set";
}
else
{
echo "<br />wrong password";
header('Location: http://survey.steelandtube.co.nz/admin/ ... ignin.php');
}
}i am uploading a website from a testing enviroment to the web.
and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:
Code: Select all
session_start();
ob_start();
$username = $_POSTї"e;username"e;];
$password = $_POSTї"e;password"e;];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("e;Could not select database!"e; .mysql_error());
$sql = "e;select * from tbl_admin where a_username = '$username'"e;;
$result = mysql_query($sql) or die("e;Execution failed: "e;.mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($rowї"e;a_password"e;] == $_POSTї"e;password"e;])
{
echo"e;<br /> right password"e;;
header('Location: /admin/admin.php');
$_SESSIONї"e;name"e;] = $username;
$_SESSIONї"e;loggedin"e;] = "e;set"e;;
}
else
{
echo "e;<br />wrong password"e;;
header('Location: http://survey.steelandtube.co.nz/admin/ ... ignin.php');
code skills!
i am uploading a website from a testing enviroment to the web.
and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POSTї"e;username"e;];
$password = $_POSTї"e;password"e;];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("e;Could not select database!"e; .mysql_error());
$sql = "e;select * from tbl_admin where a_username = '$username'"e;;
$result = mysql_query($sql) or die("e;Execution failed: "e;.mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($rowї"e;a_password"e;] == $_POSTї"e;password"e;])
{
echo"e;<br /> right password"e;;
header('Location: /admin/admin.php');
$_SESSIONї"e;name"e;] = $username;
$_SESSIONї"e;loggedin"e;] = &quills!
i am uploading a website from a testing enviroment to the web.
and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POSTї"e;username"e;];
$password = $_POSTї"e;password"e;];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("e;Could not select database!"e; .mysql_error());
$sql = "e;select * from tbl_admin where a_username = '$username'"e;;
$result = mysql_query($sql) or die("e;Execution failed: "e;.mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($rowї"e;a_password"e;] == $_POSTї"e;password"e;])
{
echo"e;<br /> right password"e;;
header('Location: /admin/admin.php');
$_SESSIONї"e;name"e;] = $username;
$_SESSIONї"e;loggedin"e;] = "e;set"e;;
}
else
am uploading a website from a testing enviroment to the web.
and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POST["username"];
$password = $_POST["password"];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("Could not select database!" .mysql_error());
$sqafter a 5 week vacation to my homeland of Greece. sorry if i am a bit rusty on my code skills!
i am uploading a website from a testing enviroment to the web.
and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POSTї"e;username"e;];
$password = $_POSTї"e;password"e;];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("e;Could not select database!"e; .mysql_error());
$sql = "select * from tbl_admin where a_username = '$username'";
$result = mysql_query($sql) or die("Execution failed: ".mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($row["a_paf i am a bit rusty on my code skills!
i am uploading a website from a testing enviroment to the web.
and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POSTї"e;username"e;];
$password = $_POSTї"e;password"e;];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("e;Could not select database!"e; .mysql_error());
$sql = "e;select * from tbl_admin where a_username = '$username'"e;;
$result = mysql_query($sql) or die("e;Execution failed: "e;.mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($rowї"e;a_password"e;] == $_POSTї"e;password"e;])
{
echo"e;<br /> right password"e;;
header('Location: /admin/admin.php');
$_SESSIONoafter a 5 week vacation to my homeland of Greece. sorry if i am a bit rusty on my code skills!
i am uploading a website from a testing enviroment to the web.
and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POSTї"e;username"e;];
$password = $_POSTї"e;password"e;];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("e;Could not select database!"e; .mysql_error());
$sql = "e;select * from tbl_admin where a_username = '$username'"e;;
$result = mysql_query($sql) or die("e;Execution failed: "e;.mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($rowї"e;a_password"e;] == $_POSTї"e;password"e;])
{
echo"e;<br /> right password"e;;
header('Location: /admin/admin.php');
$_SESSIONї"e;name"e;] = $username;
$_SESSIONї"e;loggedin"e;] = "e;set"e;;
}
else
y on my code skills!
i am uploading a website from a testing enviroment to the web.
and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POSTї"e;username"e;];
$password = $_POSTї"e;password"e;];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("e;Could not select database!"e; .mysql_error());
$sql = "e;select * from tbl_admin where a_username = '$username'"e;;
$result = mysql_query($sql) or die("e;Execution failed: "e;.mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($rowї"e;a_password"e;] == $_POSTї"e;password"e;])
{
echo"e;<br /> right password"e;;
header('Location: /admin/admin.php');
$_SESSIONї"e;name"e;] = $username;
$_SESSIONї"e;loggedin"e;] = "e;set"e; homeland of Greece. sorry if i am a bit rusty on my code skills!
i am uploading a website from a testing enviroment to the web.
and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POST["username"];
$password = $_POST["password"];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("Could not select database!" .mysql_error());
$sql = "select * from tbl_admin where a_username = '$username'";
$result = mysql_query($sql) or die("Execution failed: ".mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($row["a_password"] == $_POST["password"])
{
echo"<br /> right password";
header('Location: /admin/admin.php');
$_SESSION["name"] = $username;
$_SESSION["loggedin"] = "set";
}
else
{
echo "<br />wrong password";
header('Location: http://survey.steelandtube.co.nz/admin/ ... ignin.php');
}
}thanx for your help!
this is the page it is 'hanging' up on:
Code: Select all
session_start();
ob_start();
$username = $_POST["username"];
$password = $_POST["password"];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("Could not select database!" .mysql_error());
$sql = "select * from tbl_admin where a_username = '$username'";
$result = mysql_query($sql) or die("Execution failed: ".mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($row["a_password"] == $_POST["password"])
{
echo"<br /> right password";
header('Location: /admin/admin.php');
$_SESSION["name"] = $username;
$_SESSION["loggedin"] = "set";
}
else
{
echo "<br />wrong password";
header('Location: http://survey.steelandtube.co.nz/admin/ ... ignin.php');
}
}i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:
Code: Select all
session_start();
ob_start();
$username = $_POSTї"e;username"e;];
$password = $_POSTї"e;password"e;];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("e;Could not select database!"e; .mysql_error());
$sql = "e;select * from tbl_admin where a_username = '$username'"e;;
$result = mysql_query($sql) or die("e;Execution failed: "e;.mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($rowї"e;a_password"e;] == $_POSTї"e;password"e;])
{
echo"e Greece. sorry if i am a bit rusty on my code skills!
i am uploading a website from a testing enviroment to the web.
and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POSTї"e;username"e;];
$password = $_POSTї"e;password"e;];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("e;Could not select database!"e; .mysql_error());
$sql = "e;select * from tbl_admin where a_username = '$username'"e;;
$result = mysql_query($sql) or die("e;Execution failed: "e;.mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($rowї"e;a_password"e;] == $_POSTї"e;password"e;])
{
echo"e;<br /> right password"e;;
header('Location: /admin/admin.php');
$_SESSIONї"e;name"e;] = $username;
$_SESSIONї am a bit rusty on my code skills!
i am uploading a website from a testing enviroment to the web.
and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POSTї"e;username"e;];
$password = $_POSTї"e;password"e;];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("e;Could not select database!"e; .mysql_error());
$sql = "e;select * from tbl_admin where a_username = '$username'"e;;
$result = mysql_query($sql) or die("e;Execution failed: "e;.mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($rowї"e;a_password"e;] == $_POSTї"e;password"e;])
{
echo"e;<br /> right password"e;;
header('Location: /admin/admin.php');
$_SESSIONї"e;name"e;] = $username;
$_SESSIONї"e;loggedin"e;] = "e;set"e;;
}
else
{
echo &aafter a 5 week vacation to my homeland of Greece. sorry if i am a bit rusty on my code skills!
i am uploading a website from a testing enviroment to the web.
and i am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POST["username"];
$password = $_POST["password"];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("Could not select database!" .mysql_error());
$sql = "select * from tbl_admin where a_username = '$username'";
$result = mysql_query($sql) or die("Execution failed: ".mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($row["a_password"] == $_POST["password"])
{
echo"<br /> right password";
header('Location: /admin/admin.php');
$_SESSION["name"] = $username;
$_SESSION["loggedin"] = "set";
}
else
{
echo "<br />wrong password";
header('Location: http://survey.steelandtube.co.nz/admin/error_siange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POSTї"e;username"e;];
$password = $_POSTї"e;password"e;];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("e;Could not select database!"e; .mysql_error());
$sql = "e;select * from tbl_admin where a_username = '$username'"e;;
$result = mysql_query($sql) or die("e;Execution failed: "e;.mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($rowї"e;a_password"e;] == $_POSTї"e;password"e;])
{
echo"e;<br /> right password&quoi am comming accross a strange issue of a 'blank page' i just got the correct address for the connection string from my hosting company so 'might' have something to do with that.
i also thought id could be to do with my path's of pages so i played around with different paths to the error_signin.php page.
thanx for your help!
this is the page it is 'hanging' up on:Code: Select all
session_start();
ob_start();
$username = $_POST["username"];
$password = $_POST["password"];
$db = mysql_pconnect('http://haydn.2day.com/phpmyadmin/','**','**') or die (Could not connect to database);
if (!$db)
{
echo 'Error: Could not connect to database. Please try again laterrrrrr.';
exit;
}
mysql_select_db('survey_steelandtube_co_nz') or die ("Could not select database!" .mysql_error());
$sql = "select * from tbl_admin where a_username = '$username'";
$result = mysql_query($sql) or die("Execution failed: ".mysql_error())
while ($row=mysql_fetch_array($result))
{
if ($row["a_password"] == $_POST["password"])
{
echo"<br /> right password";
header('Location: /admin/admin.php');
$_SESSION["name"] = $username;
$_SESSION["loggedin"] = "set";
}
else
{
echo "<br />wrong password";
header('Location: http://survey.steelandtube.co.nz/admin/ ... ignin.php');
}
}