Recent Posts
C++ | 22 sec ago
C++ | 23 sec ago
None | 23 sec ago
None | 36 sec ago
None | 38 sec ago
C++ | 38 sec ago
None | 39 sec ago
HTML | 39 sec ago
Java | 47 sec ago
None | 1 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
By Anonymous on the 9th of Feb 2010 10:21:43 PM
Download |
Raw |
Embed |
Report
<?php
date_default_timezone_set('Europe/Stockholm');
require_once("dbconn.php");
$name = mysql_real_escape_string($_POST['name']);
$url = mysql_real_escape_string($_POST['url']);
$clicks = mysql_real_escape_string($_POST['clicks']);
$author = mysql_real_escape_string($_POST['author']);
$type = mysql_real_escape_string($_POST['type']);
$kategori = mysql_real_escape_string($_POST['kategori']);
$time = date("H:i:s");
mysql_query("INSERT INTO `link` VALUES (0, '$name', '$url', '$clicks', '$author', '$type' , '$kategori', '$date')") or die (mysql_error());
header("Location: index.php");
?>
Submit a correction or amendment below.
Make A New Post