<?php
// Connexion ftp $ftp = ftp_connect('ftp.example.com'); ftp_login($ftp, 'user', 'password');
// Récupération du type de serveur if ($type = ftp_systype($ftp)) { echo "Example.com est exécuté par $type\n"; } else { echo "Impossible de récupérer le type du serveur"; }
?>
|