[ create a new paste ] login | about

Link: http://codepad.org/LVGh4xqv    [ raw code | fork ]

Kalob - PHP, pasted on Oct 9:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
	function Post()
	{
		return $_SERVER['REQUEST_METHOD']=="POST";
	}
	function cleanMySQL($var)
	{
		$var = mysql_real_escape_string($var);
		return $var;
	}	
	function Back()
	{
		if(isset($_SERVER['HTTP_REFERER'])) 
		{
			header("Location: " . $_SERVER['HTTP_REFERER']);
		}
	}
?>


Output:
No errors or program output.


Create a new paste based on this one


Comments: