Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
opt /
lampp /
lib /
php /
doc /
XML_Serializer /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
example.xml
82
B
-rw-r--r--
serializeAndEncode.php
1.42
KB
-rw-r--r--
serializeAndReturn.php
609
B
-rw-r--r--
serializeCData.php
838
B
-rw-r--r--
serializeIndexedArray.php
2.49
KB
-rw-r--r--
serializeIndexedArrayWithContext.php
1.01
KB
-rw-r--r--
serializeNullProperties.php
1.34
KB
-rw-r--r--
serializeObject.php
1.29
KB
-rw-r--r--
Serializer_Bug7112.php
724
B
-rw-r--r--
serializeRDF.php
3.02
KB
-rw-r--r--
serializeSelectiveAttributes.php
1.6
KB
-rw-r--r--
serializeWithAttributes2.php
1.33
KB
-rw-r--r--
serializeWithAttributes.php
1.16
KB
-rw-r--r--
serializeWithComment.php
974
B
-rw-r--r--
serializeWithDtd.php
925
B
-rw-r--r--
serializeWithIndentedAttributes.php
1.43
KB
-rw-r--r--
serializeWithNamespace.php
1.05
KB
-rw-r--r--
serializeWithTagMap.php
2.7
KB
-rw-r--r--
unserializeAnyXML.php
2.55
KB
-rw-r--r--
unserializeClassNames.php
1.19
KB
-rw-r--r--
unserializeEncoded.php
949
B
-rw-r--r--
unserializeEnum.php
1.16
KB
-rw-r--r--
unserializeObject.php
1.44
KB
-rw-r--r--
unserializeRDF.php
2.08
KB
-rw-r--r--
unserializeWhitespace.php
1.09
KB
-rw-r--r--
unserializeWithAttributes.php
796
B
-rw-r--r--
unserializeWithTagMap.php
1.62
KB
-rw-r--r--
unserializeWithTypeGuessing.php
950
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : serializeRDF.php
<?PHP /** * This example shows how to create an RDF document * with a few lines of code. * This can also be done with mode => simplexml * * @author Stephan Schmidt <schst@php.net> * @see serializeIndexedArray.php */ error_reporting(E_ALL); require_once 'XML/Serializer.php'; $options = array( XML_SERIALIZER_OPTION_INDENT => ' ', XML_SERIALIZER_OPTION_LINEBREAKS => "\n", XML_SERIALIZER_OPTION_TYPEHINTS => false, XML_SERIALIZER_OPTION_XML_DECL_ENABLED => true, XML_SERIALIZER_OPTION_XML_ENCODING => 'UTF-8', XML_SERIALIZER_OPTION_ROOT_NAME => 'rdf:RDF', XML_SERIALIZER_OPTION_ROOT_ATTRIBS => array('version' => '0.91'), XML_SERIALIZER_OPTION_DEFAULT_TAG => 'item', XML_SERIALIZER_OPTION_ATTRIBUTES_KEY => '_attributes' ); $serializer = new XML_Serializer($options); $rdf = array( "channel" => array( "title" => "Example RDF channel", "link" => "http://www.php-tools.de", "image" => array( "title" => "Example image", "url" => "http://www.php-tools.de/image.gif", "link" => "http://www.php-tools.de" ), "_attributes" => array( "rdf:about" => "http://example.com/foobar.html" ), array( "title" => "Example item", "link" => "http://example.com", "_attributes" => array( "rdf:about" => "http://example.com/foobar.html" ) ), array( "title" => "Another item", "link" => "http://example.com", "_attributes" => array( "rdf:about" => "http://example.com/foobar.html" ) ), array( "title" => "I think you get it...", "link" => "http://example.com", "_attributes" => array( "rdf:about" => "http://example.com/foobar.html" ) ) ) ); $result = $serializer->serialize($rdf); if ($result === true) { echo "<pre>"; echo htmlentities($serializer->getSerializedData()); echo "</pre>"; } ?>
Close