I've never parsed XML with PHP, but it might help if you can show the
document that's breaking the parser, and also let us know if other
documents are working fine...
-Lorenzo
Hi,
The document is like this:
?xml version=1.0 encoding=iso-8859-1?
articulo
volantaSome text/volanta
Hello,
I'm trying to parse an XML file stored on MySQL. I'm using this code:
?php
global $CFG, $ME;
$qid = db_query(
SELECT texto
FROM articulos
WHERE id = $id
);
$r = db_fetch_object($qid);
$file = $r-texto;
$map_array = array(
ARTICULO = ,
VOLANTA = h2,
TITULO = h1,
I use a script, written in Perl, that I run manually (but could be added to
a cron tab):
--- Starting of the script
#!/usr/bin/perl
print Starting...\n;
### Some variables
$BASEDIR = /home/backup;
$dump_path = /usr/bin/mysqldump;
$date_path = /bin/date; # path to date
$date_format = +%d%b%Y; #
Hello,
I'm trying to store some encrypted data on MySQL using GnuPG and eventually
send this information via e-mail. Is somebody using this solution? Has
somebody links on this topic where I can look and see how to do it?
Regards,
Tomás
+-- --+