Search results

  1. fomalhaut

    pb with mysql_connect

    hello ! I've some problem using the mysql_connect function :nuts:. This is the beginning of my script, that works fine on my own computer : <?php $con = mysql_connect("localhost:3306"); $db = "usr_ayantdroit"; if (!$con) {die('Connection impossible : ' . mysql_error());} mysql_select_db($db...
  2. fomalhaut

    Hello quantum1, Yes, alpha Piscis Austrinus. I'm astronomy amator too. In south of France.

    Hello quantum1, Yes, alpha Piscis Austrinus. I'm astronomy amator too. In south of France.
  3. fomalhaut

    pb PHP with "include"

    OK, thank you for your answers. My "ident.php" was in the good place, but I've written a Major "I" (Ident), and it was a minor "i" (ident) ;). It's ok now. Thanks again.
  4. fomalhaut

    pb PHP with "include"

    Scuse me, I'm french and I don't understand what the meaning of "cms" ? This is my whole script "index.php" (in red is the line 15) : <html><head><title>Fomalhaut</title> <!-- <SCRIPT language=JavaScript src="orgueraphelerepert.js"></script> --> <link rel=stylesheet href="Fomalhaut.css"...
  5. fomalhaut

    pb PHP with "include"

    Hello. I've these messages when I execute the index.php file of my site : Warning: include(ident.php) [function.include]: failed to open stream: No such file or directory in /home/usr/public_html/index.php on line 15 Warning: include() [function.include]: Failed opening 'ident.php' for...
  6. fomalhaut

    DB name problem

    Hello I'll write something as : "$db = 'mydbname'" and then use this variable (i.e. $db) in the entire script. and so, if one of these days, I've to change the db name, there will only one place to change it in the script. That is, for exemple, my script was first written on my computer, and...
  7. fomalhaut

    DB name problem

    Thanks for your answers. I think in my programs, it'll be better if the db name is in a variable ! I gonna modify that. thanks again ;)
  8. fomalhaut

    DB name problem

    Hello. I'm new to mysql ! On my computer, I've create a database with the 2 parts name "ayant_droit", but, when I want to create it on cPanel, it refuses the "_", and it seems to add my Ident as a prefix : "ident_dbname", and here with the "_" How can I create the name I want ? :nuts...
  9. fomalhaut

    Hello

    Hello. I'm new here (and relativly new to construction of websites). I'm from Arles, south of France. Thanks for the space and your services. I can't access to the cPanel page. I've at my work place, through a firewall. Is that the problem ? I've this message : "1, GATEWAY_TIMEOUT...
Top