Home
Accueil
Downloads
Téléchargements
Forums
Forums
Your Account
Votre compte
Menu
· Accueil ·

· Communication ·
  · Forums
  · Messages privés
  · Contactez nous
  · Recommendez nous
  · Sondages
  · Les projets

· Nouvelles ·Stats
  · Sujets
  · Ecrire un article
  · Articles archivés
  · Articles RSS
  · Lettre de sécurité
  · Archive de lettres

· Téléchargements ·
  · Accueil
  · Nouveautés
  · Mises à jour
  · Thêmes

· Outils ·
  · Outils divers
  · Convertisseur de temps
  · Table de caractères
  · Générateur de boutons
  · Compresseur Javascript

· Documentation ·
  · Wiki
  · Questions/Réponses
  · Documents
  · Manuel PHP-Nuke
  · Manuel PHP
  · Manuel PEAR
  · Encyclopédies

· Liens ·
  · Nos liens
  · Nos fluxs RSS
  · Partenaires
  · Votre publicité
  · Sitemap
  · Mes bannières

· Infos ·
  · Rechercher
  · Votre compte
  · Liste des membres
  · Carte des membres
  · Top

· Divers ·
  · Météo
  · Galeries
  · Statistiques Phpnuke
  · MS Analysis


ftp_login

ftp_login

(PHP 3 >= 3.0.13, PHP 4, PHP 5)

ftp_login -- Identification avec une connexion FTP

Description

bool ftp_login ( resource ftp_stream, string username, string password )

ftp_login() identifie le flux FTP sur le serveur, avec le nom d'utilisateur username et le mot de passe password.

Liste de paramètres

ftp_stream

L'identifiant du lien de connexion FTP.

username

Le nom de l'utilisateur (USER).

password

Le mot de passe (PASS).

Valeurs de retour

Cette fonction retourne TRUE en cas de succès, FALSE en cas d'échec. Si l'identification échoue, PHP lancera une alerte.

Exemples

Exemple 1. Exemple avec ftp_login()

<?php
                     
$ftp_server
= "ftp.example.com";
$ftp_user = "foo";
$ftp_pass = "bar";

// Mise en place d'une connexion basique
$conn_id = ftp_connect($ftp_server) or die("Couldn't connect to $ftp_server");

// Tentative d'identification
if (@ftp_login($conn_id, $ftp_user, $ftp_pass)) {
    echo
"Connecté en tant que $ftp_user@$ftp_server\n";
} else {
    echo
"Connexion impossible en tant que $ftp_user\n";
}

// Fermeture de la connexion
ftp_close($conn_id);  
?>


Manuel PHP pour PHP-Nuke © www.stefvar.com

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/stefvar.com/public_html/modules/Multiheadlines/functions.php on line 355
Syndiquez notre contenu RSS, Atom, etc..
PHP-Nuke © 2007Reproduction interdite sans autorisation de ma part www.stefvar.com Copyright © 2008Thème iCGstation
Site français de la communauté PragmaMx