php-windows Digest 11 Apr 2005 03:49:28 -0000 Issue 2629
Topics (messages 25821 through 25823):
Re: Parsing XML Code
25821 by: Jason Barnett
Need libmcrypt.dll for Windows PHP 4.3.9
25822 by: HarryG
PEAR Installation path
25823 by: Patrick Roane
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
Jeb Barger wrote:
>
>
> I am have a hard time parsing a xml file from IIS box. What is the
> easiest way to parse a xml gotten from a url and parse the information
> into variables? Make Sense?
>
> Jeb
<?php
echo "<pre>\n";
$xml = urldecode($_GET['xml_param']);
var_dump($xml);
/** PHP5 */
$sxe = simplexml_load_string($xml);
foreach ($sxe as $item) {
var_dump($item);
}
echo "</pre>";
?>
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Need libmcrypt.dll for Windows PHP 4.3.9. Can anyone send it to me?
Thanks
HarryG
--- End Message ---
--- Begin Message ---
Hello,
I am trying to install PEAR on WinXP and I only get so
far. In the installation notes, it says:
To use PEAR without any problems you need to add your
PEAR Installation path (c:\wamp\www\bonds\libs/PEAR)
to your include_path.
Using a .htaccess file or directly edit httpd.conf
would be working solutions
for Apache running servers, too.
Do I need to go into my php.ini-recommended, or just
the php.ini?
First, I opened my php.ini-recommended and added the
following line after the ones that were already
commented out, but I don't think this worked.
;include_path = ".:/php/includes"
;
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"
include_path = ".;c:\wamp\www\bonds\libs/PEAR"
any help on this would be great!
P
Patrick Roane
Web design and development
www.franklin-band.com
Fox River Grove, Il.
--- End Message ---