Closed Thread
Results 1 to 2 of 2

Thread: SQL host [localhost ?]

  1. #1
    themacdemo84 is offline x10Hosting Member themacdemo84 is an unknown quantity at this point
    Join Date
    Mar 2011
    Posts
    6

    SQL host [localhost ?]

    dear,
    I am looking for the right SQL settings but can't find them. This is What I need:
    $mysql_host = "localhost***I can't find the right settings or is localhost right ?*****";
    $mysql_database = "a5003551_ticket";
    $mysql_user = "a5003551_ticket";
    $mysql_password = "**************";
    Thanks for helping me, Sander

    ---------- Post added at 04:39 PM ---------- Previous post was at 04:32 PM ----------

    Ok i figured it out mysefl. I was to quick asking support. It was localhost, but my username was wrong.
    But I have another error message which i am not fammiliar with

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/a5003551/public_html/succes.php:1) in /home/a5003551/public_html/succes.php on line 2

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,635

    Re: SQL host [localhost ?]

    If you use sessions , a cookie is added to the headers.
    Headers cannot be changed once there is any output. Even a single space or newline character.

    Note the error message says output started in that file a line 1.

    Make sure there is nothing before the opening <?php tag.

    Note that some text editors add a non-printing character (BOM) at the beginning of files. If you are using Notepad++ or other software to create your PHP files, make sure that it does not save the page with a BOM.
    Nothing is always absolutely so.

Closed Thread

Similar Threads

  1. What is the Host for My Sql Database (localhost notworking)
    By sriram98098071 in forum Free Hosting
    Replies: 1
    Last Post: 02-18-2011, 09:02 AM
  2. localhost
    By amplec in forum Programming Help
    Replies: 4
    Last Post: 01-24-2010, 12:21 PM
  3. Localhost
    By icywind in forum Programming Help
    Replies: 4
    Last Post: 08-20-2009, 01:30 PM
  4. Plz Help me with localhost
    By dead00man44 in forum Free Hosting
    Replies: 3
    Last Post: 01-29-2009, 07:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers