Re: [PHP] PHP within XML?

2011-08-25 Thread John Black
On 25.08.2011 16:06, Ron Piggott wrote: I am trying to figure out if it is possible to have PHP work within an XML document. Right now the PHP is displayed as a comment. Thoughts anyone? Ron How are you executing the XML file? By calling it with your browser? You may need to tell your

Re: [PHP] PHP within XML?

2011-08-25 Thread Ken Robinson
Quoting Ron Piggott ron.pigg...@actsministries.org: I am trying to figure out if it is possible to have PHP work within an XML document. The application is tracking RSS subscribers IP addresses within the database. I have wrote functions so the PHP code required is below is minimal,

Re: [PHP] php and XML BibTeX

2010-01-13 Thread Paul M Foster
On Wed, Jan 13, 2010 at 12:45:53PM -0800, Michael A. Peters wrote: Hi - Currently on my web site, book and article references are just stored in the database. While it works, I actually would like to move that out of the database and to an XML file, the reason being is that if/when I need

Re: [PHP] PHP and XML

2009-11-22 Thread Phpster
I would just use concatenations and strings to build the XML. It's not gonna matter to the flash swf when it gets the string as it will attempt the data as XML. Bastien Sent from my iPod On Nov 22, 2009, at 2:27 PM, Juan Marcelo Rodríguez Monti j...@rodriguezmonti.com.a r wrote: Hi

Re: [PHP] PHP and XML

2009-11-22 Thread Sudheer Satyanarayana
What do you recommend me to produce XML from those news of the SQL database?. What do you suggest to output XML from the existing content to then put those XML files into Flash. The posted news are saved in a MySQL database. I don't know if do I need to output from PHP then parse the output

Re: [PHP] PHP/MYSQL/XML Conversion

2007-07-23 Thread Nathan Nobbe
certainly it is better to use the database, as it is designed for such a purpose. -nathan On 7/23/07, Kelvin Park [EMAIL PROTECTED] wrote: I'm trying to convert joined multiple database table to one xml file. Is it more efficient to initially, join multiple (more that 4 tables) together to

Re: [PHP] PHP/MYSQL/XML Conversion

2007-07-23 Thread Chris
Kelvin Park wrote: I'm trying to convert joined multiple database table to one xml file. Is it more efficient to initially, join multiple (more that 4 tables) together to produce XML file, or convert every table in to XML file and use those XML files to relate data? I'd make the database do

Re: [PHP] PHP with XML database

2007-01-29 Thread Richard Lynch
On Fri, January 26, 2007 2:36 pm, Ritesh Nadhani wrote: Hello all As part of my research under my professor I have to implement a web interface to their benchmarking data. PHP is the chosen web language but we are little worried about the database. The benchmark data comes to us in XML

Re: [PHP] PHP with XML database

2007-01-29 Thread Richard Lynch
On Fri, January 26, 2007 6:10 pm, Ritesh Nadhani wrote: Hello Bernhard Zwischenbrugger wrote: Hi Some questions As part of my research under my professor I have to implement a web interface to their benchmarking data. PHP is the chosen web language but we are little worried about the

Re: [PHP] PHP with XML database

2007-01-29 Thread Ritesh Nadhani
Thank you Bernhard and Richard Your comments have been really helpful. I have a meeting with the professor on Wednesday and I will lay down all this points in front of him then. On 1/29/07, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, January 26, 2007 6:10 pm, Ritesh Nadhani wrote: Hello

Re: [PHP] PHP with XML database

2007-01-26 Thread Bernhard Zwischenbrugger
Hi Some questions As part of my research under my professor I have to implement a web interface to their benchmarking data. PHP is the chosen web language but we are little worried about the database. The benchmark data comes to us in XML format (e.g.

Re: [PHP] PHP with XML database

2007-01-26 Thread Ritesh Nadhani
Hello Bernhard Zwischenbrugger wrote: Hi Some questions As part of my research under my professor I have to implement a web interface to their benchmarking data. PHP is the chosen web language but we are little worried about the database. The benchmark data comes to us in XML format (e.g.

Re: [PHP] PHP with XML database

2007-01-26 Thread Bernhard Zwischenbrugger
Hi again I don't know what the DB should do for you. If you simple want to select subtrees from your big XML, you can put the XML Files to the filesystem and use XPointer for query. Here an example: ?php $xml=END result

Re: [PHP] PHP and XML

2006-11-24 Thread Richard Lynch
On Thu, November 23, 2006 6:57 am, onewaylife wrote: I am novice in PHP XML, while trying I am creating a small application i.e. Address Book. In this I am using Apache2, PHP5 and XML no database is used. I have FC5 machines. but I am unable to store the files in XML. If any one share

RE: [PHP] PHP and XML

2006-11-23 Thread Edward Kay
Hello, You say that you are unable to store the files in XML. Why is this? Are you getting an error message or do you just not know where to start? Edward Dear All I am novice in PHP XML, while trying I am creating a small application i.e. Address Book. In this I am using Apache2, PHP5

RE: [PHP] PHP and XML

2006-11-23 Thread Vincent DUPONT
Hi, what do you plan to do with XML? Store your adresses, etc? Then you can create an XML object with simpleXML (see http://be2.php.net/simplexml/) This will help you in adding nodes and attributes. Afterward, you can generate a output with $xml-asXML() and store this into a file with

RE: [PHP] PHP and XML

2005-10-06 Thread Rick Emery
Quoting Robbert van Andel [EMAIL PROTECTED]: Thanks, I'm investigating XSL and it looks pretty good. We use an RPM based installation of PHP version 5.0.4. I see on PHP.net's website that XSL comes standard with PHP 5 and you need to enable it by adding the argument --with-xsl to the

RE: [PHP] PHP and XML

2005-10-06 Thread Robbert van Andel
[mailto:[EMAIL PROTECTED] Sent: Thursday, October 06, 2005 8:05 AM To: php-general@lists.php.net Subject: RE: [PHP] PHP and XML Quoting Robbert van Andel [EMAIL PROTECTED]: Thanks, I'm investigating XSL and it looks pretty good. We use an RPM based installation of PHP version 5.0.4. I see

Re: [PHP] PHP and XML

2005-10-05 Thread Stephen Leaf
On Wednesday 05 October 2005 06:20 pm, [EMAIL PROTECTED] wrote: My company recently installed google's search appliance and I am working on some scripts to display the search results on our various websites. The problem I'm having is using the XML parsing functions I've used on other pages is

RE: [PHP] PHP and XML

2005-10-05 Thread Robbert van Andel
PHP from source? Is there another way to get XSL activated? Thanks for your help Robbert -Original Message- From: Stephen Leaf [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 05, 2005 7:39 PM To: php-general@lists.php.net Subject: Re: [PHP] PHP and XML On Wednesday 05 October 2005

Re: [PHP] PHP and XML

2005-10-05 Thread Stephen Leaf
On Wednesday 05 October 2005 09:46 pm, Robbert van Andel wrote: Thanks, I'm investigating XSL and it looks pretty good. We use an RPM based installation of PHP version 5.0.4. I see on PHP.net's website that XSL comes standard with PHP 5 and you need to enable it by adding the argument

Re: [PHP] ? PHP in XML document

2005-08-15 Thread Torgny Bjers
Labunski wrote: Hello, Is it possible to write some PHP code lines in the XML document? e.g. I want to add ?php require_once(read_database.php); ? to the xml document, but I don't know the right syntax to do this. Btw, I need this, cause I'm trying to make CMS system for Flash page. The

RE: [PHP] PHP en XML een vraag waard

2004-06-14 Thread Dennis Seavers
42. [Original Message] From: De Saedeleer Yves [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: 06/14/2004 1:28:28 PM Subject: [PHP] PHP en XML een vraag waard Gegroet, Hoi Ik ben reeds een tijdje bezig met PHP en hier en daar lukt er al eens iets :=)) Maar nu stuit ik toch op een

Re: [PHP] PHP and XML.

2004-02-02 Thread Mark Ackroyd
Rolf Brusletto wrote: The only thing I can think of is apache/you_webserver_here is limiting the amount of memory.. still an odd problem though, depending on the size of the xml.. The XML is tiny, 12 lines. I got round the problem by chopping up someone elses PHP XML parser script, so that

Re: [PHP] PHP and XML.

2004-01-30 Thread Rolf Brusletto
Mark Ackroyd wrote: Odd problem. I have written a small script that processes some XML, it runs on a few FreeBSD boxes I admin over. On one of the boxes (the only one) .. if I run this script through apache, The xml_set_element_handler and xml_set_character_data_handler functions return a 1

Re: [PHP] PHP and XML.

2004-01-30 Thread Raditha Dissanayake
I agree with Rolf, What's really suprising though is that SAX parsers use very little memory in the first place. Rolf Brusletto wrote: Mark Ackroyd wrote: Odd problem. I have written a small script that processes some XML, it runs on a few FreeBSD boxes I admin over. On one of the boxes (the

Re: [PHP] PHP and XML help needed

2003-09-11 Thread Raditha Dissanayake
Hi Mr Bogomil, IMHO you should try to do this with xsl:if/ most things that look like it should be delegated to php can in fact be done easily with xsl:if/ or xsl:choose/ best regards raditha Mr. Bogomil Shopov wrote: Hi folks How I can put some php code in a XSL template. I have a function

Re: [PHP] PHP and XML Resources

2002-07-05 Thread Analysis Solutions
Hola: On Thu, Jul 04, 2002 at 01:12:26PM -0600, CM wrote: Can anyone recommend a good book or web page on php and xml? The Professional PHP4 XML book by wrox looks good but I haven't read any reviews on it. I have a demonstration page at http://www.analysisandsolutions.com/code/phpxml.htm

Re: [PHP] Php and XML

2002-04-29 Thread Richard Emery
It's already been done many times. Go to Google and search for it. Also, try sourceforge and hotscripts save yourself the aggravation... - Original Message - From: Philip Yeo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 29, 2002 7:14 AM Subject: [PHP] Php and XML Hi

Re: [PHP] PHP/MySQL/XML

2002-04-01 Thread Erik Price
On Monday, April 1, 2002, at 02:33 PM, Jay Fitzgerald wrote: Can this be done and am I going about it the right way? First, it's a bad idea to cross-post between mailing lists, even if they seem like related topics. Second, what is it you're trying to do? Or what does your application

Re: [PHP] PHP/MySQL/XML

2002-04-01 Thread Thalis A. Kalfigopoulos
On Mon, 1 Apr 2002, Jay Fitzgerald wrote: I have created a database called friends with four columns: Name / Address / City / State I also made an XML file to coincide with those variables: test contacts friends nameFriend 1/name

Re: [PHP] PHP/MySQL/XML

2002-04-01 Thread Erik Price
On Monday, April 1, 2002, at 02:33 PM, Jay Fitzgerald wrote: Can this be done and am I going about it the right way? Are you familiar with something called partial decomposition? I'm not sure where it came from, but Google suggests that it may have been conceived by Daniel Appelquist, the

Re: [PHP] PHP/MySQL/XML

2002-04-01 Thread Erik Price
Shoot, kind of an important error I made in the code I gave you earlier -- the closing quote for $xml_document should be a single-quote, not a double-quote as I wrote. Sorry, Erik On Monday, April 1, 2002, at 04:26 PM, Erik Price wrote: Still, you want some advice? First, your SQL code

Re: [PHP] PHP and XML/XLST/WDDX etc

2002-03-29 Thread Erik Price
On Friday, March 29, 2002, at 12:52 PM, Dennis Moore wrote: I am in the process of updating many of my applications to include XML/XLST/ and/or WDDX technologies. Many of my applications read a static configuration file which assigns values to variables and arrays. If we need to change

RE: [PHP] PHP and XML/XLST/WDDX etc

2002-03-29 Thread J. Scott Johnson
://www.fuzzygroup.com/ Yahoo IM: fuzzygroup -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Friday, March 29, 2002 12:54 PM To: Dennis Moore Cc: [EMAIL PROTECTED] Subject: Re: [PHP] PHP and XML/XLST/WDDX etc On Friday, March 29, 2002, at 12:52 PM, Dennis Moore wrote: I am

Re: [PHP] PHP and XML/XLST/WDDX etc

2002-03-29 Thread Rich Buggy
I am in a dilemma right now between If it ain't broke, don't fix it and Looking over my shoulder. I am trying to determine whether it makes more sense to use ML for maintaining configuration files. Compiled program == ML configuration file Interpreted program (i.e PHP) == included

RE: [PHP] PHP and XML

2002-02-04 Thread Sandeep Murphy
If its parsing xml using PHP is what u r looking for, chk out: http://www.phpbuilder.com/columns/joe2907.php3 http://www.zend.com/zend/art/parsing.php http://www.melonfire.com/community/columns/trog/archives.php -Original Message- From: Peter J. Schoenster [mailto:[EMAIL

Re: [PHP] PHP and XML

2001-11-29 Thread Brian White
You could try XML for Dummies as a starting point - I have it on my desk and I have yet to read it in depth but it looks like it explains most things OK, and it has the advantage for PHP folk that it is aimed at people who already know alot about how HTML works. At 19:13 29/11/2001 -0500, Tom

RE: [PHP] PHP and XML

2001-11-29 Thread Robert Samuel White
XML By Example Second Edition, published by Que, written by Benoit Marchal, is the best resource out there in my opinion. This book was used in one of my college courses. -Original Message- From: Tom Malone [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 7:13 PM To: PHP

Re: [PHP] PHP with XML

2001-10-24 Thread Tamas Arpad
On Tuesday 23 October 2001 21:17, Vinicius Tavares wrote: What I have to do to make the PHP4 run the DOM XML??? Download the libxml library (the development packages too, if you download the packaged distrib). And compile php with it (--with-dom switch for configure). http://www.xmlsoft.org

Re: [PHP] PHP with XML

2001-10-23 Thread Tim
On Tue, 2001-10-23 at 15:17, Vinicius Tavares wrote: What I have to do to make the PHP4 run the DOM XML??? http://www.php.net/manual/en/ref.domxml.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] php search xml-file

2001-04-09 Thread elias
try learning about: XML parser functions -elias http://www.kameelah.org/eassoft "Jan Grafström" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi! I have this xml: list varacar/vara bskrford/bskr price3600/price nr/nr /list - and this php:

Re: [PHP] php and xml

2001-02-13 Thread Nathan Cassano
Steve, Did you take a look at the raw data returned by the fsockopen file pointer. There may be some http headers that are tripping up the xml parser. -Original Message- From: Steve Haemelinck [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 13, 2001 12:07 PM To: PHP Mailing

Re: [PHP] php and xml

2001-02-13 Thread Chris Lee
?php fwrite(fopen("$PHP_SELF.xml", 'w'), "messagetesting testing/message"); ? works for me on my linux box. have you checked your permisions ? -- Chris Lee Mediawaveonline.com em. [EMAIL PROTECTED] ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 ""Jan Grafström"" [EMAIL