+ Reply to Thread
Results 1 to 4 of 4

Thread: How do I find the location of my server?

  1. #1
    ChrisBurrows is offline New Bee
    Join Date
    Oct 2011
    Posts
    2
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How do I find the location of my server?

    I am following a tutorial to create a PHP script for updating my MySQL Database.

    mysql_connect("server","whenther_user","passpass");

    What do I need to write for the server part?

    Thank you in advance!

  2. #2
    Maxim M.'s Avatar
    Maxim M. is offline WeeHBie
    Join Date
    Sep 2008
    Location
    Kharkiv, UA
    Posts
    545
    Servers
    webhostingbuzz.com
    WHB Points this Month
    5.00
    WHB Points
    55.00
    Thanks
    14
    Thanked 3 Times in 3 Posts

    Default

    Remember that remote MySQL connection is prohibited on our servers.
    Assuming you'll be running your script on our server, use "localhost".
    Maxim M.
    Customer Service Manager
    WebHostingBuzz.com

    Join our FaceBook community for the useful info and latest promotions.

  3. #3
    ChrisBurrows is offline New Bee
    Join Date
    Oct 2011
    Posts
    2
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ok cheers!

    I'm trying to create a form that submits data to my MySQL Database but I can't seem to get it to work. Are there any tutorials or examples floating around you know of?

  4. #4
    Tony's Avatar
    Tony is offline Bad Influence
    Join Date
    Apr 2007
    Location
    West Virginia Blue Ridge
    Posts
    604
    Servers
    SS3
    WHB Points this Month
    15.00
    WHB Points
    175.00
    Thanks
    2
    Thanked 8 Times in 8 Posts

    Default

    The most common error here would be getting the db name & username wrong. It's going to be some variation of what cpanel tells you it is. I think it depends what type of server you're on too (e.g. shared or dedicated).

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts