WampServer

Apache, PHP, MySQL on Windows 

 
  • Accueil forum
  • Retour à WampServer
  • presentation
  • Download
  • Addons
  • Formations
  • Alter Way

 
Voir le sujet: Précédent•Suivant
Aller à : Liste des Forums•Liste des messages•Nouvelle discussion•Recherche•Connexion•Imprimer la vue
MSSQL
Envoyé par: Sandrio (80.172.5.---)
Date: 21 September 2005 à 14:28

i have rewrite the index.php off wampserver. I want to see the status of my servers at my development machine.

no problem to connect to ftp, mysql, apache, IIS. but to connect to mssql server 7.0 my script don't work.

$mssqllocal = fsockopen('CPX', 1433, $errno, $errstr, 30);
if (!$mssqlqllocal) {
$mssqllocalstatus ="<font color=\"#FF0000\">OFF</font>";
} else {
$mssqllocalstatus ="<font color=\"#006600\">online</font>" ;

}

echo $mssqllocalstatus;

what's wrong? my the firewall is enabled but when disabled i can't connnet to the mssql server. the php mssql extension is enabled!

best regards,

Sandrio Fontes

Options: Répondre•Citer ce Message


Aller à : Liste des Forums•Liste des messages•Recherche•Connexion
Désolé, seuls les utilisateurs connectés peuvent envoyer des messages dans ce forum.
Cliquer ici pour se connecter

design by jidePowered by Alter Way get firefoxget PHP