SQL host [localhost ?]

Status
Not open for further replies.

themacdemo84

New Member
Messages
6
Reaction score
0
Points
0
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
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
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.
 
Status
Not open for further replies.
Top