0byt3m1n1
Path:
/
home
/
kassiope
/
www
/
achat
/
[
Home
]
File: prefere_ajout.php
<? include("../configuration.inc.php"); $_SESSION['add_prefere'] = 1; if(!in_array($_GET['id'] ,$_SESSION['prod_prefere'])) { $_SESSION['prod_prefere'][] = $_GET['id']; } if (! empty($_SERVER['HTTP_REFERER'])) { header("Location: ".$_SERVER['HTTP_REFERER'].""); } else { header("Location: $wwwroot/index.php"); } ?>