Can anyone help?
I have two web sites that have content managements systems, courtesy of standard log in code and simple PHP code such as:
$result = mysql_query("insert into Admin values
('$Username','$Pass', '$Email')");
if (!$result)
return "Could not register you in database - please try again later.";
return true;
}
For YEARS, this has worked. SUDDENLY, it has stopped working. (It enters a completely BLANK entry into all 3 fields of table Admin - and before you point it out, I did used to encode the password, but I stipped that out to eliminate THAT from the enquirey!). The NEXT time you try, with ANY username, it says that one is already taken, because it tries to add another blank field....
I am 10000% convinced my host (www.web-mania.com) has done something to their servers, but they emphatically deny it.
....so... am I going mad? DOES code get tired and stop working? Or COULD they have upgraded something that has had such an effect on BOTH of my sites??
Many thanks guys.
Al