LAPTOP-V9RRD1TL\Michelle's Computer f8f8fcaf96 first commit
2025-07-21 21:38:17 +08:00

11 lines
225 B
PHP

<?php
include '../connect/main-config.php' ;
$lang = $_GET['lang'] ;
$link = $_GET['link'] ;
$link = ($link != '' ? $link : 'index.php') ;
setcookie( "Lang", $lang, strtotime("+1 year") ) ;
header( "Location:".$link ) ;
?>