
Forum » » Questions » » S'identifier sur deux sites en même temps
Posté : 12-10-2010 17:42 
echo"<script>window.open('http://cyclos.descartes2.free.fr/docookie.php ?info=$info&user_langue=$user_langue&user_cook_duration=$user_cook_dura tion','secours','menubar=no, status=no, scrollbars=no, menubar=no, width=50 , height=50');</script>";
<?php
$info = $_GET['info'];
$user_langue = $_GET['user_langue'];
$user_cook_duration = $_GET['user_cook_dura tion'];
if ($user_cook_duration& lt;=0) {$user_cook_duration=1;}
$timeX=time()+(3600*$user_coo k_duration);
setcookie("user","$info",$tim eX);
if ($user_langue!="")&nb sp;{
setcookie(" user_language","$user_langue",$timeX);
}
?>
<html>
<head>
</head>
<body !onload!="window.setTimeout('self.close ()',2000)">
</body>
</html>
Message édité par : PhilGuen / 12-10-2010 17:50
Cet article provient de NPDS REvolution 16
https://lab.grottes-et-karsts-de-chine.org/viewtopic.php?topic=24946&forum=9