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, after the
XML declaration line.
Prior to posting
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
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
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
to add fields etc. to the referenced sources, it's a lot easier to
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
to put all this news into the Flash site. So, I need to use
XML. I'm not gonna discuss about Flash, because this is a PHP List,
however I would like to talk about PHP and XML.
What do you recommend me to produce XML from those news of the SQL
database?. What do you suggest to output XML from
this news into the Flash site. So, I need to
use XML. I'm not gonna discuss about Flash, because this is a PHP
List, however I would like to talk about PHP and XML.
What do you recommend me to produce XML from those news of the SQL
database?. What do you suggest to output XML from
regards,
Sudheer. S
Tech stuff: http://techchorus.net - Pro PHP XML - Book Review
Business: http://binaryvibes.co.in
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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?
--
PHP General Mailing List
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
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
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
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
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
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 format (e.g.
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.
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.
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 xmlns:xi
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
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 and XML no database is used. I have FC5
machines. but I am unable to store the files in XML. If any one share their
experience in this by providing Examples
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
@lists.php.net
Subject: [PHP] PHP and XML
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 and XML no database is used. I have FC5
machines. but I am unable to store the files in XML. If any one share their
experience
Hello,
I need to set the doctype and the system dtd of a document created
directly with the xml DOM.
I couldn´t find any function or property to set this, i saw some
examples that directly wrote onto the file manually, but i´m pretty sure
thare must be a way to do this with the dom (i
from the fact that it worked perfectly fine in PHP 4, all the XML and
XSL conforms to spec. Anyone have an idea? I'm using the PHP 5 DOM and
XSL libraries to handle everything in my upgraded version of the code;
the PHP 4 version used DOMXML and Sablotron.
--
Pleochism: a moment of perfect
to the configure line. How do I do this when we did not build
PHP from source? Is there another way to get XSL activated?
Thanks for your help
Robbert
You don't mention which distro you're using, but Fedora Core 4 has a
php-xml rpm to ...add support to PHP for manipulating XML documents
using the DOM tree
[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
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 not working because the returned XML has invalid xml
characters in
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
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
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
.
The easiest way to do this in Flash is to call a PHP script instead of
an XML file in Flash, that way you can render the XML document however
you want with PHP and load data directly from the database into XML or
whatever you wish. So, replace the XML filename for your PHP script, and
that way you should
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.
Thanks a lot!
Roman
--
Hey all, I've been working a lot more with XML recently and it seems
like there's been a fair number of other people using XML too (based on
the moderate number of XML-based problems showing up on this list). So,
I thought I might build a form with PHP that helps people trying to work
with
nodig heb zijn de volgende gegevens:
het veld QTY, PRICE CURRENCY en het veld DELDATE
ik heb totaal geen ervaring met de combinatie PHP en XML.
Alle hulp is meer dan welkom.
Yves,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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 error (out of memory)
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
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
Hi folks
How I can put some php code in a XSL template.
I have a function that returns a value and I want this value to be entered
in a img tag in XSL template?
Thanks
Bogomil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
I have recently upgraded a server which I use for development:
Windows XP Home
Apache 1.3.26
MySQL 3.23
PHP 4.3.2 with Pear
Everything seemed to go well, except that now I James Clarks expat does
not work. Very confused on this one I have uninstalled expat and
What do I have to do in order to use the XML-RPC functionality on a Windows
based machine? It was fairly easy to drop the .inc files into the PHP
include directory on a Linux box, but I am not sure if it is possible to do
the same on a Windows machine.
--
PHP General Mailing List
do you have any idea about PHP DOM XML functions?
when will PHP DOM XML functions be stable?
Fatih stnda
Yre Elektronik Yaymclk A..
0 212 234 00 90
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
A mailing list for discussing the future of PHP and XML development has
been created. You can subscribe by sending a message to
[EMAIL PROTECTED] (normal ezmlm commands apply). This
mailing list is _only_ intended for actual php extension and api
development, user support questions should remain
Just wanted some opinions on the best way to produce well-formed xml from a
php object. In my case, I was toying with the idea of a generic way to
product an xml file from a PEAR DataObject - the idea being that a 3rd
party requests data, I extract from mysql using Pear's DataObjects
Hello PHP.
I'm running Linux Mandrake 9.0 with Apache 1.3.26 and PHP 4.2.3 and I'm
trying to get the XML parser expat to work. I get this error:
Call to undefined function: xml_parser_create()
I have installed expat from the Mandrake Control center, but I dont
think PHP found that out :-)
I
Hello
What's the best to convert HTML to XML that I can use in PHP
Thx a lot
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i got 2 problems with this code:
?php
$insideitem = false;
$insidekeep = false;
$insiderelic = false;
$printed = false;
$printedkeep = false;
$tag = ;
$server = false;
$da_server = ;
$da_lastguildupdate = ;
$da_lastcharupdate = ;
$da_population = ;
$da_type = ;
$da_status = ;
$da_relicorig = ;
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
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.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Anyone that has knowledge about this program, regarding it's XML output and
php fetching that info and placing it on a php-page for user's to view?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi there,
I would like to create an XML parser using Php. Any good references for doing this??
Philip
Hi there,
I would like to create an XML parser using Php. Any good references for
doing this??
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
I'm searching for an XML-QL/XQuery engine or module for PHP. Does anyone
have any idea where I can find it?
Thx a lot
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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
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
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
address999 Foo Avenue/address
I am looking for opinions and other philosophy on a couple of XML issues. I have my
own opinion, but I am curious what others think and what they are doing...
I am in the process of updating many of my applications to include XML/XLST/ and/or
WDDX technologies. Many of my applications read
much that goes
in-depth into using PHP with XML. There is far more about Java and XML
than PHP. I finally found a mailing list devoted to PHP/XML issues, but
it's on Yahoo! Groups and I'm having a bitch of a time getting
subscribed (who ever thought that a web-based interface for mailing list
://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
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
hi,
when im using xsl:output encoding=ISO-8859-1 i get
Sablotron error on line 1: unknown encoding 'ISO-8859-1' in on line ...
but i think iso-8859-1, utf-8, etc. support must be build in. in addition,
when i try to include an external xsl with xsl:include href=... / or a
xml file with
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
Hi,
I'd appreciate any pointers you recommend to good sources of
information on how to use PHP and XML.
Thanks,
Peter
---
Reality is that which, when you stop believing in it, doesn't go
away.
-- Philip K. Dick
--
PHP General Mailing List (http
Can anyone recommend a good book on XML, maybe from a PHP perspective?
Tom Malone
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Malone wrote:
Can anyone recommend a good book on XML, maybe from a PHP perspective?
Tom Malone
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
List
Subject: [PHP] PHP and XML
Can anyone recommend a good book on XML, maybe from a PHP perspective?
Tom Malone
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] To
contact the list administrators, e
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
What I have to do to make the PHP4 run the DOM XML???
thanks
Vinicius
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
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
Hi!
I have this xml:
list
varacar/vara
bskrford/bskr
price3600/price
nr/nr
/list
-
and this php:
$filename = "list.xml";
$fp = fopen($filename, "r");
$string = fread($fp, filesize($filename));
$string = strip_tags($string);
$refined_string = explode(" ", $string);
if
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:
Hi!
I have this php:
$message = ereg_replace("\r","", $message);
$message =
"med$message/mednam$name/namadr$adress/adrtel$tele/tel";
$fp = fopen (basename($PHP_SELF) . ".comment", "a");
fwrite ($fp, $message);
fclose ($fp);
There must be something wrong in first line beacause the value of message
Listl (E-mail)
Subject: [PHP] XML Parsing through Proxy
Hi Anybody got an idea?
I am sitting behind a proxy and I want to able to parse an XML.
So I have to use fsockopen() to get through my firewall and get the page.
So far, everything goes wel, but I am not able to parse the file, because I
think
?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
78 matches
Mail list logo