PHP

gilbert1995 Messages postés 414 Date d'inscription   Statut Membre Dernière intervention   -  
gilbert1995 Messages postés 414 Date d'inscription   Statut Membre Dernière intervention   -
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
 
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   Statut Membre Dernière intervention   29
 
0
avion-f16 Messages postés 19252 Date d'inscription   Statut Contributeur Dernière intervention   4 507
 
Un topic suffit largement.
http://www.commentcamarche.net/forum/affich-18266551-php-commet-ecrire
0
LelLex Messages postés 1628 Date d'inscription   Statut Membre Dernière intervention   112
 
Toutes ces informations risque de le faire fuir ! ;)
0