php - Not able to login with my hosted login page -


I am trying to host my code in a host site www.my3gb.com with my code right on my PC Working, but not when I hosted there ... look at this code ...

   h1> you are alowed & lt; / h1 & gt;"; } Other {Print "& lt; h1 & gt; No Alowed & lt; / h1 & gt;"; }}? & Gt; & Lt; / Body & gt; & Lt; / Html & gt;   

and the login page is .....

  & lt; Html & gt; & Lt; Body bgcolor = "yellow" & gt; & Lt; Center & gt; & Lt; H1 & gt; Admission application & lt; / H1> & Lt; Form action = "log.php" method = "post" & gt; Users & lt; Input type = "text" name = "T1" & gt; & Lt; Br> & Lt; Br> Pswd & lt; Input type = "password" name = "T2" & gt; & Lt; Br> & Lt; Br> & Lt; Input type = "submit" & gt; & Lt; / Form & gt; & Lt; / Center & gt; & Lt; / Body & gt; & Lt; / Html & gt;   

On my PC it will show output like this ... When the alert was given on my host link, then it was inquired about it, it will show the output like this. ..... related questions you can see your login page here

I think the problem Here is: <> mysql_connect ("http://www.my3gb.com/phpmyadmin/", "username", "password") before;

Try

  mysql_connect ("localhost", "username", "password");   

I think MySQL will not be connected to phpMyAdmin, but maybe this is my misconception.

Comments