Re: [PHP] How to parse this kind of XML

2008-02-07 Thread Nathan Nobbe
On Feb 7, 2008 6:51 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: >I'm sure you're already aware of it, and that it's just a typo in > the email, but there's a space between the lt carat and the > event:sessionType node declaration. > that screwed me the last time i was posting on a simplexml n

Re: [PHP] How to parse this kind of XML

2008-02-07 Thread Daniel Brown
On Feb 7, 2008 6:17 PM, VamVan <[EMAIL PROTECTED]> wrote: > Hi, > > How can I parse this kind of XML data? > > > > > < event:sessionType>9 > > marketingprograms > > 05/22/2008 09:00:00 > > 05/22/2008 10:00:00 > > 4 > > 60 > > > I am using SimpleXMLElement function but some cannot re

Re: [PHP] How to parse this kind of XML

2008-02-07 Thread VamVan
I cannot manipulate the response. this is the response I get from the web services. is there any other way to do it? On Feb 7, 2008 3:41 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > > On Feb 7, 2008 6:17 PM, VamVan <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > How can I parse this kind of XML da

Re: [PHP] How to parse this kind of XML

2008-02-07 Thread Nathan Nobbe
On Feb 7, 2008 6:17 PM, VamVan <[EMAIL PROTECTED]> wrote: > Hi, > > How can I parse this kind of XML data? > > > > > < event:sessionType>9 > > marketingprograms > > 05/22/2008 09:00:00 > > 05/22/2008 10:00:00 > > 4 > > 60 > > > I am using SimpleXMLElement function but some cannot retrieve

[PHP] How to parse this kind of XML

2008-02-07 Thread VamVan
Hi, How can I parse this kind of XML data? < event:sessionType>9 marketingprograms 05/22/2008 09:00:00 05/22/2008 10:00:00 4 60 I am using SimpleXMLElement function but some cannot retrieve the nodes like timeZoneID for example Thanks -- PHP General Mailing List (http:/

Re: [PHP] How to parse PHP tags in a string?

2007-02-07 Thread Satyam
- Original Message - From: "Zak Mc Kracken" <[EMAIL PROTECTED]> Hi all, Is there a PHP function that parses a string as it was the content of a PHP file? I have a CMS application and editors write the news items text into a text area. Since they have some knowledge of PHP, I'd like to a

[PHP] How to parse PHP tags in a string?

2007-02-07 Thread Zak Mc Kracken
Hi all, Is there a PHP function that parses a string as it was the content of a PHP file? I have a CMS application and editors write the news items text into a text area. Since they have some knowledge of PHP, I'd like to allow them to insert or and have the content blocks parsed and executed.

Re: [PHP] How to parse raw mail headers and messages?

2006-09-18 Thread Richard Lynch
On Mon, September 18, 2006 1:48 am, Mathijs wrote: > Is there a way to parse mail headers from a RAW mail received from > sendmail? There MUST be a way, or none of us could get email... :-) > Like extracting the from, reply-to etc.. etc.. and also the > message(s). You know the headers are "done

Re: [PHP] How to parse raw mail headers and messages?

2006-09-18 Thread Chris
Mathijs wrote: Hello there, Is there a way to parse mail headers from a RAW mail received from sendmail? Like extracting the from, reply-to etc.. etc.. and also the message(s). Also mabye Multipart email's en attachments? IMAP can pick up some of this. http://www.php.net/manual/en/function

[PHP] How to parse raw mail headers and messages?

2006-09-17 Thread Mathijs
Hello there, Is there a way to parse mail headers from a RAW mail received from sendmail? Like extracting the from, reply-to etc.. etc.. and also the message(s). Also mabye Multipart email's en attachments? Thx in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] how to parse

2004-12-06 Thread Alex Toney
i have script that passes variables through it then it generates xml on a remote server . how would i parse that here they are http://bluemoonlabs.net/weather.php http://bluemoonlabs.net/parse.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.

Re: [PHP] how to parse a string parse with ereg

2004-11-19 Thread Jason Wong
On Friday 19 November 2004 01:50, [EMAIL PROTECTED] wrote: > > Then you can process each line separately but in groups 3 lines at a time > > (assuming they're supposed to be groups of 3). > > but what happen's in the case a user drop down every line in a web > form without a ELO character ? Not q

Re: [PHP] how to parse a string parse with ereg

2004-11-18 Thread Mark-Walter
Helo, > I meant explode each *line* (at the EOL character(s)), so this: > xxx.x.x.x | 0.0.0.0 255.255.255.255 UH 0 | | | 0 | | | | 0 ppp0 > is an element of the array. And this: > 192.168.0.0 0.0.0.0 255.255.255.0 U | | 0 | | | 0 | | | | 0 eth1 > is another element, etc. > > 0.0.0.0 |

Re: [PHP] how to parse a string parse with ereg

2004-11-17 Thread Jason Wong
On Thursday 18 November 2004 06:51, [EMAIL PROTECTED] wrote: > Well this work's fine in the case the user input is correct :-) > > But it's not required to proof in the case I would assume that a > user input is correct. > > To explode with the device as line break to allocate an array mem > lead'

Re: [PHP] how to parse a string parse with ereg

2004-11-17 Thread Mark-Walter
Hi, > I have to admit I'm not following you. My suggestion that you use explode() > was based on the premise that you have a bunch of lines: > > ... > xxx.x.x.x   0.0.0.0 255.255.255.255 UH 0      0        0 ppp0 > 192.168.0.0 0.0.0.0 255.255.255.0 U    0      0        0 eth1 > 0.0.0.0     xxx.x

Re: [PHP] how to parse a string parse with ereg

2004-11-16 Thread Jason Wong
On Wednesday 17 November 2004 07:17, [EMAIL PROTECTED] wrote: > But it has one weakness. In the case the device (ppp0) is > missing somewhere in the output as the user didn't intend > to integrate this required information, and by having insight > it could be more than 10 lines with 10.000 rules o

Re: [PHP] how to parse a string parse with ereg

2004-11-16 Thread Mark-Walter
Hi Jason Wong, > > > The regular expression is already working but how can I reduce the > > > string to have then only 2 lines ? > > Convert the string into an array using explode(). Thank's a lot for this information. I tried this but one thing is not suitable so far for me while using explode.

Re: [PHP] how to parse a string parse with ereg

2004-11-11 Thread Jason Wong
On Friday 12 November 2004 00:50, [EMAIL PROTECTED] wrote: > The regular expression is already working but how can I reduce the > string to have then only 2 lines ? Convert the string into an array using explode(). -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Sy

[PHP] how to parse a string parse with ereg

2004-11-11 Thread Mark-Walter
Hi, I've a string where the output of route -n is in for example. x.x.x.x 0.0.0.0 255.255.255.255 UH0 00 ppp0 192.168.0.0 0.0.0.0 255.255.255.0 U 0 00 eth1 0.0.0.0 x.x.x.x 0.0.0.0 UG0 00 ppp0 The regular

Re: [PHP] How to parse this?

2004-10-23 Thread Marek Kilimajer
Jerry Swanson wrote: I have huge html file. I want to parse the data and get everything between and What function is good for this purpose? preg_match() -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to parse this?

2004-10-23 Thread Jerry Swanson
I have huge html file. I want to parse the data and get everything between and What function is good for this purpose? TH -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to parse still images from video clips

2003-01-02 Thread fates
Can someone point me in the right direction on how to parse still images from video clips video information. Do the videos have a tag like mp3 where I can get the video information? I can parse mp3 info with mp3 tag using PHP but can this be done with PHP? If not then what language is best for

[PHP] Re:SOLVED [PHP] How to parse db-stored code

2002-03-20 Thread heinisch
At 20.03.2002 12:17, you wrote: SOLVED ! > > I have stored several selects in a mysql-db, > > it is possible to parse the answer, but I couldn´t remember how. > > f.e. > the answer on a query is: > > select * from somewhere where foo='$foo' and foofoo='$foofoo' > > this is a string, what is the m

[PHP] How to parse db-stored code

2002-03-20 Thread heinisch
Hi Folks, I have stored several selects in a mysql-db, it is possible to parse the answer, but I couldn´t remember how. f.e. the answer on a query is: select * from somewhere where foo='$foo' and foofoo='$foofoo' this is a string, what is the method to make the $foo-vars "real" vars? TIA Oliver

RE: [PHP] How to parse an XML document

2001-12-24 Thread [EMAIL PROTECTED]
> -Original Message- > From: PHP Rules [mailto:[EMAIL PROTECTED]] > Sent: 23 December 2001 10:15 AM > To: [EMAIL PROTECTED] > Subject: [PHP] How to parse an XML document > > > Hi fellas. > > I would like to know the way to parse an XML document. > > I come fr

RE: [PHP] How to parse an XML document

2001-12-23 Thread James Cox
http://www.php.net/manual/en/ref.xml.php HTH. James Cox > -Original Message- > From: PHP Rules [mailto:[EMAIL PROTECTED]] > Sent: 23 December 2001 10:15 AM > To: [EMAIL PROTECTED] > Subject: [PHP] How to parse an XML document > > > Hi fellas. > > I would

[PHP] How to parse an XML document

2001-12-23 Thread PHP Rules
Hi fellas. I would like to know the way to parse an XML document. I come from Java world, and you can handle an XML document, and then show it as an HTML page. I suppose that it's also possible by using PHP, isn't it? I would like also to know if it's available in the 'standard installation'