
08-20-2002, 11:10 AM
|
|
Newbie
|
|
Join Date: Aug 2002
Posts: 22
|
|
Have many of you played with PHP & XML? I have just been down the road of building forms and functionality on-the-fly using XML, then writing it back out.
The PHP parser is ok but to control lots of XML i had a massive multi-dimensional array that was quite hard to get my brain around.. i got it to work and it's all cool, but i am wondering if others have a different way of tackling PHP / XML or if they have their own classes etc to handle such stuff (i wrote my own, but want to compare it
Cheers..
...and this is first actual useful thread on this forum .. unlike the useless one started by davehooper.net 
|

08-20-2002, 11:35 AM
|
|
Web Hosting Master
|
|
Join Date: Aug 2001
Location: Australia
Posts: 934
|
|
Quote:
Originally posted by battman21
...and this is first actual useful thread on this forum .. unlike the useless one started by davehooper.net
|
hey, I resemble that remark 
|

08-20-2002, 11:53 AM
|
|
Newbie
|
|
Join Date: Aug 2002
Posts: 22
|
|
Can't keep your mitts off can you..
You and Net Platter are one of a kind.. 
|

08-20-2002, 08:12 PM
|
|
Web Hosting Master
|
|
Join Date: Dec 2000
Location: San Diego, CA
Posts: 1,571
|
|
What a coincidence, I was reading the documentation on PHP's XML parser. It seems a total pain in the arse. I was considering just reading the information from the XML file for a site I'm planning instead of using a database for speed purposes. 
|

08-20-2002, 08:47 PM
|
|
Newbie
|
|
Join Date: Aug 2002
Posts: 22
|
|
It's do-able.. and yes, a pain in the arse! Once you get your brain around it it's not so bad.. except expect some serious arrays. If you need any pointers let me know.
-- battman21
|

08-20-2002, 09:06 PM
|
|
Newbie
|
|
Join Date: Aug 2002
Location: CT
Posts: 7
|
|
|

08-20-2002, 09:15 PM
|
|
Web Hosting Master
|
|
Join Date: Dec 2000
Location: San Diego, CA
Posts: 1,571
|
|
Quote:
Originally posted by Evolve3Media
Ive used asp with xml.
|
Poor thing! 
|

08-20-2002, 09:18 PM
|
|
Newbie
|
|
Join Date: Aug 2002
Posts: 22
|
|
Quote:
Originally posted by mind21_98
Poor thing!
|
Hear Hear!
Never want to go down that path...
|

08-20-2002, 09:25 PM
|
|
Web Hosting Master
|
|
Join Date: Dec 2000
Location: San Diego, CA
Posts: 1,571
|
|
Quote:
Originally posted by battman21
Hear Hear!
Never want to go down that path...
|
Hopefully he used Chilisoft ASP or something instead of a real NT box. 
|

08-20-2002, 09:45 PM
|
|
Newbie
|
|
Join Date: Aug 2002
Posts: 22
|
|
Wrong blasted window.. sorry!
|

08-20-2002, 09:47 PM
|
|
Newbie
|
|
Join Date: Aug 2002
Posts: 22
|
|
Heheh.. let's hope he sees the light though.. come over from the dark side.. 
|

08-20-2002, 09:55 PM
|
|
Web Hosting Master
|
|
Join Date: Dec 2000
Location: San Diego, CA
Posts: 1,571
|
|
Your name isn't "3 of 5". It's "battman21". The Borg are trying to seduce you! 
|

08-21-2002, 04:13 AM
|
|
Web Hosting Master
|
|
Join Date: Dec 2000
Location: San Diego, CA
Posts: 1,571
|
|
I'm well on my way to getting XML working. About 30 minutes ago I coded something that parses all the XML files in a user's directory and generates a mega XML file that will eventually be fed into Sabletron. (It's at http://cms.translator.cx/u/mind21_98 if you want to take a look, you may need to View Source though because it's sending as HTML).
Soon it will show the number of replies to that file, the article date and the first paragraph of the article or so as well as being properely sorted in descending order by the date of creation.
|

08-22-2002, 10:15 PM
|
|
Web Hosting Master
|
|
Join Date: Aug 2002
Location: Baltimore, Maryland
Posts: 580
|
|
theres some scripts @ hotscripts.com . i wanted to add hackinabox.org's news head lines to my site and i needed a script that could convert some xml values into html.. goto hotscripts, click on xml, click on Scripts and Programs, then click on parsers, then goto php...if u wanna use another langage or just want to see what they have go here 1st:
http://www.hotscripts.com/XML/Script...grams/Parsers/
|

08-22-2002, 10:15 PM
|
|
Web Hosting Master
|
|
Join Date: Aug 2002
Location: Baltimore, Maryland
Posts: 580
|
|
Quote:
Originally posted by Evolve3Media
Ive used asp with xml.
|
PS: hahahahahahahahahahahahahahahahahahahahahahahahaha 
|
Related posts from TheWhir.com
|
| Title |
Type |
Date Posted |
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|