Re: AhA! Structor Unchained!
| From: | bkelly at neuraljazz dot com | Date: | Thu, 24 May 2001 04:46:12 +0000 |
| Subject: | Re: AhA! Structor Unchained! | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-476@lists.php.net to get a copy of this message | ||
Hi, Luc
What version PHP are you running? I tested with 4.0.4p1 and 4.0.5.
Your file, for some reason, can't be just "filename.xml" but
"./filename.xml" even if it is in the same directory. This is true
with Parser.php as well, I believe [Stig? Andrei? Anyone know why?]
Sorry about the typo, that was introduced when I moved from my test
environment to a "published" version.
Questions to the Group:
Does anyone know Javascript good enough to give me a js browser for
Netscape/Mozilla like IE? It's about as important as a toast
desoggifyer, but I think it's the peice-de-resistance to the class.
Does anyone know when I use ereg on line 290 it works, but I can't
trim the value and do an ==. What am I doing wrong?
Anyone want to tackle fetching multiple values?
Hmmm, I think I will rewrite this so it will take a url and try
to open up a socket to an XML file via the net. Yeah. That's the
ticket!
-Bob Kelly
-bkelly@neuraljazz.com
-rkelly@insight.com
> Bob,
>
> I'm not sure you send the lasted version of your file because the require
> in structor_test.php is wrong (require("XML/struct.php"); when the file is
> structor.php) and when correcting this typo I get :
>
> Test One:
> echoing a parsed version of the XML file that matches the input
>
>
> Fatal error: Call to a member function on a non-object in structor.php on
> line 529
>
>
> Luc
>
----- End forwarded message -----