homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

Connect to a remote database using php?

10+ Year Member

Msg#: 1138 posted 10:46 am on Jan 23, 2004 (gmt 0)

Iam using a basic php contact page.

The database is on my home server and when i post on the contact us form is works correctly.

When i upload the page to a php host, setup the database host details i get an error like:

Error accepting Query : insert command denied to user: '@localhost' for table 'contact'

Ive given all the priviledges needed to get it to work, but it wont shift!

In my php ive used <?=$_SERVER['PHP_SELF']?>

Could this have anything to do with it?



WebmasterWorld Senior Member 10+ Year Member

Msg#: 1138 posted 9:54 pm on Jan 24, 2004 (gmt 0)

Try posting your question in the PHP Server Side Scripting forum: the php experts may not browse this forum too often.

Or sticky a mod or admin type to move your post.

There are so many forums here!

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved