I need help!

hektikxx

New Member
So this is my friends site, i tried to make a replica but something is wrong, can you tell me what?

This is the site.

Code:
http://ib.dontexist.org/testsite/

This is my replica.

Code:
http://xxsynnyxx.55fast.com/Index.htm

What is the problem?
 

conor

New Member
try adding this to the top.

<!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" />

the adds could also be messing with the positioning. Take the adds out, get it to work and build from that. Put the adds in after the page is working properly.
 

hektikxx

New Member
try adding this to the top.

<!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" />

the adds could also be messing with the positioning. Take the adds out, get it to work and build from that. Put the adds in after the page is working properly.

didnt work, i tried on alot of different host they all do the same thing.
 

Geodun1

New Member
I have ads turned off with Adblock Plus for firefox, so I know ads aren't the issue.

Code:
<img src="images/login_04.png" width="126" [b]height32142"[/b] alt=""></td>

That's probably your problem. Change it to:

Code:
<img src="images/login_04.png" width="126" [b]height="132"[/b] alt=""></td>
 
Last edited:

conor

New Member
the problem probably lies with this line

Code:
<td width="143" valign="top" height="10" background="images/username.png">

you have set the height to 10px but the browser is interpreting the height as 32px.

I can't figure out why....
 

conor

New Member
i found it!

change this line:

Code:
<form name="login" method="post" valign="top" action="index.htm">

to this:

Code:
<form name="login" method="post" valign="top" action="index.htm" style="margin-bottom: 0px;">

this sorts it out a bit but the page is still a bit off. check all of your margins
 

hektikxx

New Member
i found it!

change this line:

Code:
<form name="login" method="post" valign="top" action="index.htm">

to this:

Code:
<form name="login" method="post" valign="top" action="index.htm" style="margin-bottom: 0px;">

this sorts it out a bit but the page is still a bit off. check all of your margins
THANK YOU SO MUCH! now do you know how i can put a login function in it lol
 

conor

New Member
theres no way that i could know what exactly your error is without taking a look at your php.
from what i can see:

Code:
$host = "localhost"; // Change this to your host name. It may be localhost 
$username = "xxsynnyxx_hektik"; // Changes this to your database username 
$password = "7777777"; // Changes this to your database password 
$database = "xxsynnyxx_members"; // Change this to your database name 
$conn = mysql_connect($host, $username, $password) or die ( mysql_error() ); 
$database = mysql_select_db($database, $conn) or die ( mysql_error() );

your connection to mysql has failed, are you sure that these details are right?
 
Last edited:

hektikxx

New Member
theres no way that i could know what exactly your error is without taking a look at your php.
from what i can see:

Code:
$host = "localhost"; // Change this to your host name. It may be localhost 
$username = "xxsynnyxx_hektik"; // Changes this to your database username 
$password = "7777777"; // Changes this to your database password 
$database = "xxsynnyxx_members"; // Change this to your database name 
$conn = mysql_connect($host, $username, $password) or die ( mysql_error() ); 
$database = mysql_select_db($database, $conn) or die ( mysql_error() );

your connection to mysql has failed, are you sure that these details are right?

yea im pretty sure
 

jnjc

New Member
First thing I'd do now is change that username and password, you don't know who is reading this thread and you are leaving yourself wide open to be hacked.

Nobody needs to see the actual user name and password to help (if they do you should probably PM them with the details).

The error message is saying that it's trying to use the user vhostswww to connect which doesn't match what you have posted, also the fact that it is showing your connection parameters as part of your error message is a major risk (and points to something screwy in the code).

We will probably need to see the source for checklogin.php to more provide help
 
Top