HighDots Forums  

HELP! login that works on local machine with ip to remote servver does not work when uploaded

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss HELP! login that works on local machine with ip to remote servver does not work when uploaded in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Wayne...
 
Posts: n/a

Default 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);
?>



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.