jacalyn Posted October 6, 2006 Share Posted October 6, 2006 I'm using osCommerce Manager and they've created a work-around for people who cannot connect to their MySQL database due to servers not allowing you to set permissions. However, I need to create a bridge.php file with $username and $password to add to my directory in order to access my database through this program and have no clue how to do this. Help?? Quote Link to comment Share on other sites More sharing options...
redarrow Posted October 6, 2006 Share Posted October 6, 2006 use a include("bridge.php"); on the pages that need the database connection.bridge.php[code]<?php$db=("localhost","username","password");mysql_select_db("databasename",$db);?>[/code]I think that what you want if not sorry. Quote Link to comment Share on other sites More sharing options...
jacalyn Posted October 6, 2006 Author Share Posted October 6, 2006 Thanks, but I don't think that's going to work...Here's the message I get in the program I'm using:In order to use this you have to put bridge.php file into your store "catalog" directory.Login and password specified here must be the same as $username and $password in "bridge.php"Example: Location of bridge: http://www.mystore.com/bridge.phpLogin: 1Password: 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.