PHP

Fermé
gilbert1995 Messages postés 414 Date d'inscription samedi 12 septembre 2009 Statut Membre Dernière intervention 30 mai 2013 - 25 juin 2010 à 15:52
gilbert1995 Messages postés 414 Date d'inscription samedi 12 septembre 2009 Statut Membre Dernière intervention 30 mai 2013 - 26 juin 2010 à 00:59
Bonjour, Bonjour,
voila j'ai
$_SERVER["DOCUMENT_ROOT"]  
$_SERVER["PHP_SELF"]  
$_SERVER["REMOTE_ADDR"]  
$_SERVER["HTTP_USER_AGENT"]  
$_SERVER["HTTP_REFERER"]  
$_SERVER["HTTP_ACCEPT_LANGUAGE"]  
$_SERVER['HTTP_HOST']  
$_SERVER['PATH_INFO']  
$_SERVER['PATH_TRANSLATED']  
$_SERVER['REQUEST_URI']  
$_SERVER['REMOTE_PORT']  
$_SERVER['QUERY_STRING']  
$_SERVER['SERVER_ADDR']  
$_SERVER['SERVER_ADMIN']  
$_SERVER['SERVER_NAME']  
$_SERVER['SERVER_SIGNATURE']  
$_SERVER['REQUEST_METHOD']  
$_SERVER["UNIQUE_ID"]  
$_SERVER["HTTP_REFERER"]  
$_SERVER["SERVER_SOFTWARE"]  
$_SERVER["SERVER_PORT"]  
$_SERVER["REMOTE_HOST"]

et je veut les in tégré dans une phrase comme votre ip est....

comment faire et oui j'ai php sur mon site







A voir également:

3 réponses

Utilisateur anonyme
25 juin 2010 à 22:13
Simplement comme ceci :
<?php echo 'votre ip est : '.$_SERVER["REMOTE_ADDR"] ; ?>

// ou bien

votre ip est <?php echo $_SERVER["REMOTE_ADDR"] ; ?>
1
gilbert1995 Messages postés 414 Date d'inscription samedi 12 septembre 2009 Statut Membre Dernière intervention 30 mai 2013 29
26 juin 2010 à 00:59
0
avion-f16 Messages postés 19252 Date d'inscription dimanche 17 février 2008 Statut Contributeur Dernière intervention 10 février 2025 4 505
25 juin 2010 à 22:42
Un topic suffit largement.
http://www.commentcamarche.net/forum/affich-18266551-php-commet-ecrire
0
LelLex Messages postés 1628 Date d'inscription mercredi 18 février 2009 Statut Membre Dernière intervention 5 septembre 2012 112
26 juin 2010 à 00:08
Toutes ces informations risque de le faire fuir ! ;)
0