[PHP] XML with PHP

2010-08-26 Thread user
Hi I am trying to read XML files (invoices) from a directory and display them to the visitor. Each XML file contains several invoices. The visitor then clicks on the XML file (invoices). My PHP snippet should open the xml file and locate the appropriate invoice and display the content. I

Re: [PHP] XML with PHP

2010-08-26 Thread Michael Shadle
On Thu, Aug 26, 2010 at 2:54 AM, u...@domain.invalid wrote: Hi I am trying to read XML files (invoices) from a directory and display them to the visitor. Each XML file contains several invoices. The visitor then clicks on the XML file (invoices). My PHP snippet should open the xml file

Re: [PHP] XML with PHP

2010-08-26 Thread Michael Shadle
On Thu, Aug 26, 2010 at 3:10 AM, Sridhar Pandurangiah sridharpa...@gmail.com wrote: Mike Thanks a ton for the quick response. I have updated the mail id on my email client (using Mozilla TB) and I did repost but your reply was quicker! Will try this out and post the results on this thread.

[PHP] XML with PHP

2010-08-26 Thread Sridhar Pandurangiah
Hi I am trying to read XML files (invoices) from a directory and display them to the visitor. Each XML file contains several invoices. The visitor then clicks on the XML file (invoices). My PHP snippet should open the xml file and locate the appropriate invoice and display the content. I have

Re: [PHP] XML with PHP

2010-08-26 Thread Sridhar Pandurangiah
Hi I guess my post was misunderstood. I was just trying to figure out if there is a better way other than displaying a form. That's the reason I posted my php snippet in my first post. Thanks for the help. Best regards Sridhar Original Message Subject: Re: [PHP] XML

Re: [PHP] XML with PHP

2010-08-26 Thread Sridhar Pandurangiah
clicked. Should I display the directory listing as a form? Best regards Sridhar Original Message Subject: Re: [PHP] XML with PHP From: mike...@gmail.com (Michael Shadle) To: Date: Thu Aug 26 2010 15:32:13 GMT+0530 (IST) -- PHP General Mailing List (http://www.php.net

Re: [PHP] xml v php question

2006-08-04 Thread Richard Lynch
On Tue, July 25, 2006 8:33 am, David Tulloh wrote: Larry Garfield wrote: Disable short tags. The correct answer is (b). (PHP 6 won't even have short tags, so get used to not having them.) Can you find anywhere where this was announced? I don't recall seeing any decision on it. A quick

Re: [PHP] xml v php question

2006-07-25 Thread David Tulloh
Larry Garfield wrote: Disable short tags. If short tags are enabled, the PHP parser sees the ? and switches into PHP mode. It then starts parsing the xml and sees that it's not proper PHP, and freaks out. You can: a) Use PHP to print out the XML declaration as a string: ?php

Re: [PHP] xml v php question

2006-07-25 Thread tedd
At 11:01 PM -0500 7/24/06, Larry Garfield wrote: Disable short tags. If short tags are enabled, the PHP parser sees the ? and switches into PHP mode. It then starts parsing the xml and sees that it's not proper PHP, and freaks out. You can: Bingo ! That works : ) Apparently the better

Re: [PHP] xml v php question

2006-07-25 Thread Kevin Waterson
This one time, at band camp, Larry Garfield [EMAIL PROTECTED] wrote: The correct answer is (b). (PHP 6 won't even have short tags, so get used to not having them.) ummm, I think it was decided to stay in php6. I could be mildly/wildly mistaken Kevin -- Democracy is two wolves and a

Re: [PHP] xml v php question

2006-07-25 Thread Larry Garfield
On Tue, July 25, 2006 3:15 pm, Kevin Waterson said: This one time, at band camp, Larry Garfield [EMAIL PROTECTED] wrote: The correct answer is (b). (PHP 6 won't even have short tags, so get used to not having them.) ummm, I think it was decided to stay in php6. I could be mildly/wildly

RE: [PHP] xml v php question

2006-07-25 Thread Jim Moseby
On Tue, July 25, 2006 3:15 pm, Kevin Waterson said: This one time, at band camp, Larry Garfield [EMAIL PROTECTED] wrote: The correct answer is (b). (PHP 6 won't even have short tags, so get used to not having them.) ummm, I think it was decided to stay in php6. I could be

[PHP] xml v php question

2006-07-24 Thread tedd
Hi gang: Why does starting my php script with -- ?xml version=1.0 encoding=utf-8? -- stop it from running? I would like to use php in a page, but the page has to begin with a xml declaration to generate a quirksmode for IE6 and under while permitting IE7 to be left in standards mode

Re: [PHP] xml v php question

2006-07-24 Thread Larry Garfield
Disable short tags. If short tags are enabled, the PHP parser sees the ? and switches into PHP mode. It then starts parsing the xml and sees that it's not proper PHP, and freaks out. You can: a) Use PHP to print out the XML declaration as a string: ?php print '?xml version=1.0 encoding=utf

[PHP] XML and PHP

2005-07-06 Thread Cima
hi all, i would like to know where i could find more info on xml and working xml with php. thanks.

RE: [PHP] XML and PHP

2005-07-06 Thread Jay Blanchard
[snip] i would like to know where i could find more info on xml and working xml with php. [/snip] Start with the manual http://www.php.net/xml -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XML and PHP

2005-07-06 Thread Charles Stuart
all, i would like to know where i could find more info on xml and working xml with php. thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] XML and PHP

2003-11-06 Thread Victor SpÄng Arthursson
Hi! I've been looking at the XML-parserfunctions in the manual, and they seems nice enough. But I'm currently in a project where there is need to read from, write to and edit in XML-files, in some smart way. Our ISP is supporting the following: xml XML Support active XML Namespace Support

Re: [PHP] XML to PHP help

2003-08-31 Thread David Otton
On Sun, 31 Aug 2003 11:20:23 -0500, you wrote: No, what I'm looking for is a script that will download the backend.php file like you get from slashdot.org, and turn it into a readable html file that can be insterted into another php file. Make sense? Not really. Forget about the file extension

Re: [PHP] XML to PHP help

2003-08-31 Thread Raditha Dissanayake
hi Ron, There's no way you can retrieve the php on a remote server (unless of course they have a major security flow :-) ) Ron Clark wrote: Hello all, Does anyone have a script, or know where to find a working script to pull backend.php files from a site, parse them into a html type file, and

RE: [PHP] XML to PHP help

2003-08-31 Thread Ronnie Clark
] Sent: Sunday, August 31, 2003 11:20 AM To: Ron Clark; [EMAIL PROTECTED] Subject: Re: [PHP] XML to PHP help hi Ron, There's no way you can retrieve the php on a remote server (unless of course they have a major security flow :-) ) Ron Clark wrote: Hello all, Does anyone have a script, or know

[PHP] XML to PHP help

2003-08-31 Thread Ron Clark
Hello all, Does anyone have a script, or know where to find a working script to pull backend.php files from a site, parse them into a html type file, and display them correctly? I have been working on one for my site for some time now, and I cannot sem to get it right. I want to see the structure

Re: [PHP] XML to PHP help

2003-08-31 Thread David Otton
On Sun, 31 Aug 2003 11:20:23 -0500, you wrote: No, what I'm looking for is a script that will download the backend.php file like you get from slashdot.org, and turn it into a readable html file that can be insterted into another php file. Make sense? Oh, hey, wait a sec - XML, backend... are you

[PHP] xml and php

2003-07-31 Thread Steff
Hello I'm a beginner in php. Sorry to disturb you but I have two problems and I hope you can help me. I use php 4.3.2(InetPub\Php is my php directory) under windows 2000 server with IIS 5.0. I want to manipulate xml file with Php (add some element, modify some element

RE: [PHP] xml and php

2003-07-31 Thread Jay Blanchard
[snip] I'm a beginner in php. I want to manipulate xml file with Php (add some element, modify some element, delete some element and consult some element) but when I try domxml_open_file I obtain system error : Call to undefined function: domxml_open_file() I heard about use

Re: [PHP] xml and php

2003-07-31 Thread Steff
PM Subject: RE: [PHP] xml and php [snip] I'm a beginner in php. I want to manipulate xml file with Php (add some element, modify some element, delete some element and consult some element) but when I try domxml_open_file I obtain system error : Call to undefined function: domxml_open_file

RE: [PHP] xml and php

2003-07-31 Thread Jay Blanchard
[snip] so I can parse and read xml file but I can't add or modify nothing in my xml file and even not create xml file ! [/snip] Uh, XML files are text files which you can modify with any of the text handling functions in PHP. What exactly are you trying to accomplish? -- PHP General Mailing List

RE: [PHP] xml and php

2003-07-31 Thread Jay Blanchard
[snip] ?xml version=1.0? library book id 1 /id title lg=FR Title 1 /title Desc lg=FR

Re: [PHP] xml and php

2003-07-31 Thread Ray Hunter
: Hello I'm a beginner in php. Sorry to disturb you but I have two problems and I hope you can help me. I use php 4.3.2(InetPub\Php is my php directory) under windows 2000 server with IIS 5.0. I want to manipulate xml file with Php (add some element, modify some

Re: [PHP] XML into PHP

2002-11-13 Thread Krzysztof Dziekiewicz
Wednesday, November 13, 2002, , wrote: How would i call a page in PHP that is XML? eg; if i had a file that was like below. http://www.philipnz.com/news/rss.xml and i wanted to include it onto a page. Look into PHP manual: XML parser functions -- PHP General Mailing List (http

[PHP] XML into PHP

2002-11-12 Thread Philip J. Newman
How would i call a page in PHP that is XML? eg; if i had a file that was like below. http://www.philipnz.com/news/rss.xml and i wanted to include it onto a page. HELP (looking through the docs now) --- Philip J. Newman. Head Developer. PhilipNZ.com New Zealand Ltd. http://www.philipnz.com

Re: [PHP] XML into PHP

2002-11-12 Thread Khalid El-Kary
hi, do you want to show the whole XML content (including tags and other things) or you want to extract data (tag text and attribute vaules) from it? khalid _ The new MSN 8: smart spam protection and 2 months FREE*

Re: [PHP] XML into PHP

2002-11-12 Thread Khalid El-Kary
hi, try this parser http://creaturesx.ma.cx/kxparse/ (not stable) _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- PHP General Mailing List (http://www.php.net/) To

[PHP] XML in PHP on Apache (RH 7.3)

2002-11-08 Thread Pelek
Hello its urgent problem! I need apache server with php supporting XML, i have read the manual and some posts how-to compile it ( http://www.php.net/manual/en/ref.xml.php ) i have download sources of expat and doing step-by-step instructions given in one of the posts ( *pfreet

[PHP] xml and php

2002-08-15 Thread Pafo
iwill rephrase my question, where can i find good xml-php links? how would you extract all information about the Guinevere server in this xmlpage, http://www.camelotherald.com/xml/servers.xml its aprox in the middle of the list, and i want all information there so i could display it on a page

[PHP] XML vs. PHP manual???

2002-07-23 Thread Scott Fletcher
I read the useful document about XML in PHP on http://www.analysisandsolutions.com/code/phpxml.html. I still haven't made much progress on XML. I'm still confuse about XML. I had to write XML stuffs on the client-side with the build-in XML request and it doesn't make sense that the client

Re: [PHP] XML vs. PHP manual???

2002-07-23 Thread Analysis Solutions
On Tue, Jul 23, 2002 at 12:33:19PM -0400, Scott Fletcher wrote: I read the useful document about XML in PHP on http://www.analysisandsolutions.com/code/phpxml.html. Thanks. But, you mean: http://www.analysisandsolutions.com/code/phpxml.htm I had to write XML stuffs on the client-side

Re: [PHP] XML vs. PHP manual???

2002-07-23 Thread Scott Fletcher
PM -0400, Scott Fletcher wrote: I read the useful document about XML in PHP on http://www.analysisandsolutions.com/code/phpxml.html. Thanks. But, you mean: http://www.analysisandsolutions.com/code/phpxml.htm I had to write XML stuffs on the client-side with the build-in XML

[PHP] XML with PHP cURL.

2002-07-18 Thread Scott Fletcher
Hi! I find it to be mind-boggling to try to make xml work with php and curl. What do anyone here think of it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] XML with PHP cURL.

2002-07-18 Thread Jay Blanchard
[snip] Hi! I find it to be mind-boggling to try to make xml work with php and curl. What do anyone here think of it? [/snip] More details about the problem would be nice. How exactly do you want this to work? I have had no problems with cURL and PHP. Jay What was the best thing before sliced

Re: [PHP] XML with PHP cURL.

2002-07-18 Thread Analysis Solutions
On Thu, Jul 18, 2002 at 11:03:10AM -0400, Scott Fletcher wrote: Hi! I find it to be mind-boggling to try to make xml work with php and curl. What do anyone here think of it? Well, I can offer help on the XML: http://www.analysisandsolutions.com/code/phpxml.htm --Dan

Re: [PHP] XML with PHP cURL.

2002-07-18 Thread Scott Fletcher
/code/phpxml.htm and see what I can learn from. Thanks, FletchSOD Analysis Solutions [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Thu, Jul 18, 2002 at 11:03:10AM -0400, Scott Fletcher wrote: Hi! I find it to be mind-boggling to try to make xml work

Re: [PHP] XML with PHP cURL.

2002-07-18 Thread Scott Fletcher
More detail? I have successfully make the data transmission work through php and curl without xml. I just barely gotten started on xml. I read the documentation about how it work, but it is only for the client side. I'm going to have to read some documentation and figure out how to use xml

[PHP] XML with PHP?

2002-06-12 Thread Scott Fletcher
Hey! Which PHP option should I use for compiling with the XML support. I'm using the standard XML support on the web and I found there are 4 or 5 different PHP option for XML. Which should I use? The example of the XML is .. -- clip -- ?xml version=1.0 encoding=UTF-8? NetConnectRequest

RE: [PHP] XML with PHP?

2002-06-12 Thread Lazor, Ed
--xml -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 6:57 AM To: [EMAIL PROTECTED] Subject: [PHP] XML with PHP? Hey! Which PHP option should I use for compiling with the XML support. I'm using the standard XML support on the web

RE: [PHP] XML and PHP - dynamic hell

2001-12-01 Thread Matthew Loff
Did you try adding: header(Content-Type: text/xml); To the top? -Original Message- From: Chris [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 01, 2001 12:34 AM To: [EMAIL PROTECTED] Subject: [PHP] XML and PHP - dynamic hell I'm having one page output XML for other sites

Re: [PHP] XML and PHP - dynamic hell

2001-12-01 Thread Chris
It didn't help :( - Original Message - From: Matthew Loff [EMAIL PROTECTED] To: 'Chris' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, December 01, 2001 10:03 AM Subject: RE: [PHP] XML and PHP - dynamic hell Did you try adding: header(Content-Type: text/xml); To the top

[PHP] xml and php question

2001-07-09 Thread Conor McTernan
application of it, aside form the odd tutorial on how to construct a DTD or how to parse XMl with Java/PHP etc. once again, i'm not sure if this post is appropriate to this mailing list, perhaps i should send it to a MySql list or something, but if anyone has any ideas or thoughts on the topic i would

[PHP] xml with php

2001-04-19 Thread steve lee
Please can you guide me, I want to use php to update the following xml with the values the user fills in. for example add value="" in the "input type text" line and add checked to the Radio button line. Is there any functions in php that can be used to step through a xml and just update the form