view _xampp/lang.php @ 3:f196939ccc03

error handle and alert feedback to user. If error occurs, user'll not be halted by the loading page and sections_revisions will recovery to previous version.
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Mon, 26 Jan 2015 12:19:39 +0100
parents b12c99b7c3f0
children
line wrap: on
line source

<?
	$fp=fopen("lang.tmp","w");
	fwrite($fp,basename($_SERVER['QUERY_STRING']));
	fclose($fp);
	header("Location: index.php");
?>