hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : Php & Xml
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

Php & Xml

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 08-20-2002, 11:10 AM
battman21 battman21 is offline
Newbie
 
Join Date: Aug 2002
Posts: 22

Php & Xml


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

Reply With Quote


Sponsored Links
  #2  
Old 08-20-2002, 11:35 AM
webarama webarama is offline
Web Hosting Master
 
Join Date: Aug 2001
Location: Australia
Posts: 934
Re: Php & Xml

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

__________________
Web Hosting since 1999

Reply With Quote
  #3  
Old 08-20-2002, 11:53 AM
battman21 battman21 is offline
Newbie
 
Join Date: Aug 2002
Posts: 22
Can't keep your mitts off can you..

You and Net Platter are one of a kind..

Reply With Quote
Sponsored Links
  #4  
Old 08-20-2002, 08:12 PM
mind21_98 mind21_98 is offline
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.

__________________
-Mooneer
Thoughtbug Software: Hosting shouldn't require any thought.
Legitimate host? Support the Code of Ethical Conduct

Reply With Quote
  #5  
Old 08-20-2002, 08:47 PM
battman21 battman21 is offline
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

Reply With Quote
  #6  
Old 08-20-2002, 09:06 PM
Evolve3Media Evolve3Media is offline
Newbie
 
Join Date: Aug 2002
Location: CT
Posts: 7
Ive used asp with xml.

Reply With Quote
  #7  
Old 08-20-2002, 09:15 PM
mind21_98 mind21_98 is offline
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!

__________________
-Mooneer
Thoughtbug Software: Hosting shouldn't require any thought.
Legitimate host? Support the Code of Ethical Conduct

Reply With Quote
  #8  
Old 08-20-2002, 09:18 PM
battman21 battman21 is offline
Newbie
 
Join Date: Aug 2002
Posts: 22
Quote:
Originally posted by mind21_98


Poor thing!
Hear Hear!

Never want to go down that path...

Reply With Quote
  #9  
Old 08-20-2002, 09:25 PM
mind21_98 mind21_98 is offline
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.

__________________
-Mooneer
Thoughtbug Software: Hosting shouldn't require any thought.
Legitimate host? Support the Code of Ethical Conduct

Reply With Quote
  #10  
Old 08-20-2002, 09:45 PM
battman21 battman21 is offline
Newbie
 
Join Date: Aug 2002
Posts: 22
Wrong blasted window.. sorry!

Reply With Quote
  #11  
Old 08-20-2002, 09:47 PM
battman21 battman21 is offline
Newbie
 
Join Date: Aug 2002
Posts: 22
Heheh.. let's hope he sees the light though.. come over from the dark side..

Reply With Quote
  #12  
Old 08-20-2002, 09:55 PM
mind21_98 mind21_98 is offline
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!

__________________
-Mooneer
Thoughtbug Software: Hosting shouldn't require any thought.
Legitimate host? Support the Code of Ethical Conduct

Reply With Quote
  #13  
Old 08-21-2002, 04:13 AM
mind21_98 mind21_98 is offline
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.

__________________
-Mooneer
Thoughtbug Software: Hosting shouldn't require any thought.
Legitimate host? Support the Code of Ethical Conduct

Reply With Quote
  #14  
Old 08-22-2002, 10:15 PM
dreamrae.com dreamrae.com is offline
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/

Reply With Quote
  #15  
Old 08-22-2002, 10:15 PM
dreamrae.com dreamrae.com is offline
Web Hosting Master
 
Join Date: Aug 2002
Location: Baltimore, Maryland
Posts: 580
Quote:
Originally posted by Evolve3Media
Ive used asp with xml.


PS: hahahahahahahahahahahahahahahahahahahahahahahahaha

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?