PHP Classes

File: language.change.php

Recommend this page to a friend!
  Classes of Dannel   PHP Language Change   language.change.php   Download  
File: language.change.php
Role: Auxiliary script
Content type: text/plain
Description: Lang script to change cookie
Class: PHP Language Change
Change application language using arrays of text
Author: By
Last change:
Date: 4 years ago
Size: 160 bytes
 

Contents

Class file image Download
<?php
$lang
=$_REQUEST['lang'];
$cookie_name = "lang";
setcookie($cookie_name, $lang, time() + (86400), "/");
sleep(2);
header("Location: example.php");
?>