Algorithms Arrays Passwords Uncategorized
Commerce Uncategorized
Databases Abstraction Layers Informix LDAP MS SQL MySQL ODBC PostgreSQL Uncategorized
Date & Time Calculators Conversion Translation Uncategorized
Discussion Chat Forums Guestbooks Polls Uncategorized
Email Validation Uncategorized
External Uncategorized
Files and Directories Uncategorized
Games Uncategorized
Graphics 3-D Graphs Resizing Thumbnails Uncategorized
HTML Forms Menus & Navigation Source Viewers Tables Templates Uncategorized
HTTP Authentication Cookies File Uploading Uncategorized
I18N Uncategorized
Math Uncategorized
Miscellaneous Uncategorized
Searching and Trees Uncategorized
Security Uncategorized
Text Uncategorized
Utilities Calendars Counters Link Checkers Weather Uncategorized
XML Uncategorized
| php sample source codes |
|---|
|
Parses Amazon's XML response (Web Service)
|
|
This code is application server that allows to display and edit database table
contents with native Borland Delphi components using SOAP.
|
|
I wrote a basic script for creating an XML document in the first step and parsing for its nodes in the second step. I am sure this will help you to start with PHP DOM-XML.
|
|
This program will display the XML output of your existing database in MySql.
You can enhance it by using fopen and fput function to write the output in the file called xml one
|
|
Transforms a (local|remote) XML file and its accompanying (local|remote) XSL file into html on the server
using either a client output buffering in MSIE only or
via a URL HTTP GET include via the W3's XSLT public web service.
|
|
Here is a function permetting to export datas provided by a database (mysql for this example) the goal beeing to include them into a XML file (this one will be automatically created).
|
|
Using these coding lines xml can gather the existent information in any feed file.
Only it is necessary to change her URL of the file to syndicate
|
|
This function give the Transformation
to Page ... According to files that are feed to it ..
Feed one Standard XML and its XSL files
it will generates according transformation ....
in Process of this it generates the Dyanamic XML files according data one want ...
|
|
This basic example will allow you to generate and XML file using PHP and data from your mySQL database. It also has the ability to save the XML Doc if you read through the code and uncomment the three lines of code that do it.
|
|
Quick and dirty generic function to parse multiple SQL queries into a DOM XML structure. Based on use with a PostgreSQL db. This SQL2XML function is somewhat stronger then the class-based one that can be found in the code gallery. Perhaps I'll extend / rewrite this function once the DOM XML functionality in PHP is stable.
|
|
This is a minimal, and hopefully simple class to get data out of a xml file
via path query. Like; /rootNode/subnode/node .. if you don't understand read
the code source, you'll dig it :)
It was inspired from lots of great codes from the open source (mainly from
zend.com and pear.php.net), wich are not necessarly related to xml, list
them back would be too long and I would surely forget some, so i felt like
I had to give it back to the open source. now make something better out of it :)
to do:
- add support for duplicate nodes.
- add support fo namespaces.
note to coders:
- the $i & $o stands for input & output, i think it's a clean and efficient
way to handle mainstream data trough functions.
- this code may not be appropriate for proffessional use since it does not
meet the industry standards and is still in beta developement
- I think it can handle malformed or broken xml files without ending with
infinites loops or crashing, but you shall respect some rules to in your
xml file composition .. and avoid node repetition :/ i'll work on that soon.
** BOF file.xml **
data
data
** EOF file.xml **
finally, feel free to report me bugs, suggestions or comments.
- h3 at mindkind dot org
|
|
This class for manage site news.
|