Recent Posts
Java | 8 sec ago
Z80 Assembler | 12 sec ago
Win Batch | 34 sec ago
PHP | 43 sec ago
Python | 55 sec ago
None | 1 min ago
None | 1 min ago
None | 1 min ago
ASM (NASM) | 1 min ago
Python | 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...
Learn a little bit about the new Pastebin.com on our help page. hide message
By Anonymous on the 9th of Feb 2010 10:21:55 PM Download | Raw | Embed | Report
  1. <?php
  2.  
  3.         date_default_timezone_set('Europe/Stockholm');
  4.        
  5.         require_once("dbconn.php");
  6.        
  7.         $name = mysql_real_escape_string($_POST['name']);
  8.         $url = mysql_real_escape_string($_POST['url']);
  9.         $clicks = mysql_real_escape_string($_POST['clicks']);
  10.         $author = mysql_real_escape_string($_POST['author']);
  11.         $type = mysql_real_escape_string($_POST['type']);
  12.         $kategori = mysql_real_escape_string($_POST['kategori']);
  13.         $time = date("H:i:s");
  14.        
  15.         mysql_query("INSERT INTO `link` VALUES (0, '$name', '$url', '$clicks', '$author', '$type' , '$kategori', '$date')") or die (mysql_error());
  16.         header("Location: index.php");
  17. ?>
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: