HELP! login that works on local machine with ip to remote servver does not work when uploaded -
06-15-2004
, 05:28 PM
I have wrote myself a Content Management System that pulls the username and
password from a remote mysql database. then directing me to the secure admin
area.
now this works fine running from my local machine and changes the data on
the remote server....but when i came to upload and test it it connects but
the login keeps throwing me back.
anyone have any ideas?
thanks in advance
Wayne...
connection code: ( the feilds are not in brackets in the original file)
----------------
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_secretwebdesign = "69.**.*.*";
$database_secretwebdesign = "(databasenamehere)";
$username_secretwebdesign = "(username is here)";
$password_secretwebdesign = "(password is here)";
$secretwebdesign = mysql_pconnect($hostname_secretwebdesign,
$username_secretwebdesign, $password_secretwebdesign) or
trigger_error(mysql_error(),E_USER_ERROR);
?> |