Forum » » Le coin des codeurs » » Faire suivre les référants
Posté : 30 sept. 2006 à 19:03 
bonsoir
comment vous inclueriez cela dans mon code de redirection ?
merci d'avance pour vos pistes
$fp = fopen("index.html","w+");
fseek($fp,0);
fputs($fp,"<html>\n");
fputs($fp,"<head>\n");
fputs($fp,"<title>index</title>\n");
fputs($fp,"<meta http-equiv=\"!refresh!\"content=\"0 ; url=http://$REMOTE_ADDR/npds\" > \n");
fputs($fp,"<head>\n");
fputs($fp,"<body>\n");
fputs($fp,"Patientez pendant la redirection\n");
fputs($fp,"</body>\n");
fputs($fp,"</html>\n");
fclose($fp);
Cet article provient de NPDS
https://www.npds.org/viewtopic.php?topic=20904&forum=5