Yeo Wee Tat wrote:
Hi Adam,
I can modify the xml file without any error , however when I tried to
unserializer the xml file using PEAR:XML , it gave the error message below.
I have attached my code for your perusal.
Any ideas ? thanks
/", "",
$xml);
$filehandle = fopen($xmlfile, 'wb');
$o
PROTECTED]
Sent: Thursday, June 29, 2006 12:12 PM
To: Yeo Wee Tat
Cc: php-general@lists.php.net
Subject: Re: [PHP] RE: modify xml before parse
Yeo Wee Tat wrote:
> Hi Adam,
>
> I can modify the xml file without any error , however when I tried to
> unserializer the xml file using PEAR:XML ,
Yeo Wee Tat wrote:
Hi Adam,
I can modify the xml file without any error , however when I tried to
unserializer the xml file using PEAR:XML , it gave the error message below.
Ask the pear list.
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://ww
Hi Adam,
I can modify the xml file without any error , however when I tried to
unserializer the xml file using PEAR:XML , it gave the error message below.
I have attached my code for your perusal.
Any ideas ? thanks
/", "",
$xml);
$filehandle = fopen($xmlfile, 'wb');
$ok = fwrite($filehandle
weetat wrote:
Hi Adam,
Thank for your input.
However search and replace the value such as
to empty string ? Try the
code below , no successful.
$xmlfile = "/home/gvintranet/datacraft/htdocs/properties/test_cdata.xml";
$xml = file_get_contents($xmlfile);
$xml =
preg_replace('/[^(\\/Hard
Hi Adam,
Thank for your input.
However search and replace the value such as
to empty string ? Try the
code below , no successful.
$xmlfile = "/home/gvintranet/datacraft/htdocs/properties/test_cdata.xml";
$xml = file_get_contents($xmlfile);
$xml =
preg_replace('/[^(\\/HardwareVersion)]<\
weetat wrote:
Hi all,
I need to read xml file before it was parsed by PHP DOM functions.
The xml file have some encrypted value as shown below :
Anybody have any suggestion how to do it ?
Thanks.
- weetat
$xmlfile = file_get_contents("http://urloffile.com/filename.xml";);
I mea
7 matches
Mail list logo