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
and
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.
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
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
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
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
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
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
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
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
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
[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
use a search engine. if you can't find what you need, then ask. if
you already did this, then state that you already looked and you
found xyz, but xyz isn't telling you what you need to know, which is
specifically blah.
best,
charles
On Jul 6, 2005, at 2:59 PM, Cima wrote:
hi
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
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
]
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
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
[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
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
[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
[snip]
?xml version=1.0?
library
book
id
1
/id
title lg=FR
Title 1
/title
Desc lg=FR
Make sure that you have all the dlls that are needed for php+dom. these
dlls need to be in your windows path as well.
Uncomment the dll in your php.ini file and restart the webserver. View a
php page with phpinfo() as the only function in that page:
?php
phpinfo();
?
See if you have dom in
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
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*
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
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
Ha ha, I'm so used to html instead of htm. :-)
It have been my thought that I write a script as a post method to send data
to the server then have hte PHP webserver do the dirty work. I haven't
figure out how to get PHP to put in the xml stuffs into the data and send it
to the credit bureau.
[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
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
--
Cool! I'm just getting started on XML. I read the documentation about XML
and it doesn't look too hard. Unfortunately, it is written for the client
side script. So, I barely am starting writing the test script for the
server side and have it work with php and curl. At least, I know how to
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 in
--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
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 to
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
34 matches
Mail list logo