OK, vous me dites que je dois passer sur mysqli ou PDO
Pour me permettre de débuter avec ces nouveaux standards, pourriez vous me proposer simplement les transcriptions des scripts ci-dessous sous mysqli ou sous PDO ?
Ouverture d’une base de donnée
mysql_connect($host, $utilisateur,$motdepasse)
$pointeur_bdd=mysql_select_db("nom_base_de_donnees" ) ;
Lancement d’une Forum: WampServer Francais
Oui j'ai accès à PhpMyAdmin et dans PhpMyAdmin à ma base
sur mon site, j'ouvre ma base de la façon suivante :
$host = "site1"; $user = "root" ; $bdd = 'mabase'; $passwd = ""; }
$msc=mysql_connect($host, $user,$passwd) or die(MYSQL_CONNECT);
$mss=mysql_select_db($bdd); Forum: WampServer Francais
Désolé, j'avais mal lu !
Voici Hosts
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the h Forum: WampServer Francais
W10 64bRedémarrage des DNS
AampServer 3.0.6.64bit
Apache 2.4.23
PHP 5.6.25
MySQL 5.7.14
L'icone de WampServer est verte
Lignes actives dans c:\Windows\System32\drivers\etc\hosts : Plein et notamment
ServerSignature On
ServerTokens Full
Define APACHE24 Apache2.4
Define VERSION_APACHE 2.4.23
Define INSTALL_DIR c:/wamp64
Define APACHE_DIR ${INSTALL_DIR}/bin/apache/apache${VERSION_A Forum: WampServer Francais
Bonjour,
Nouvel utilisateur de WampServer, j'ai plusieurs sited à tester, dont un trop gros pour être déplacé dans le disque où est installé Wamp.
Comment peut on indiquer à WampServer un autre chemin que celui où il est installé ?
Merci Forum: WampServer Francais