Hi list,
i took this tutorial for creating xml file from scratch. toturial is is
present at sitepoint. www.sitepoint.com/print/management-system-php.
ok i dont know how to enable DOM/XML feature, when i do phpinfo(); it does
give that DOM/XML is enable but i cant run this tutorial. i try to debug
Every time I uncomment the extension line for the dom xml extension my PHP
stops working, or atleast every PHP page I have times out before doing what
they are supposed to, regardless if it has any domxml functions or not.
I am running PHP 4.2.2. Taking a look at the manual it says you need to mov
Could anyone tell how to install DOM-support to PHP 4.3? I'm using Apache
2.0.44 and Windows XP and PHP as a module. I have downloaded the
libxml2-2.5.3win32 package but where should I place the files?
The libxml2.dll file I have copied to \windows\system32 like it should.
The php_domxml.dll is i
parvez Soobhany wrote:
to cofingure my apache and php to use php dom...where do I type this command
--with -dom
When you compile PHP. But you probably have it compiled already, as a
module, if you're using the binary archive from php.net. Look in
php.ini for the extension lines. There shou
hii
to cofingure my apache and php to use php dom...where do I type this command
--with -dom
i can't get the dom functions to work..can any one help me in the installation..i used
the manual...but unfortunately to no avail
thks
gt; James
>
> -Original Message-
> From: Tom [mailto:[EMAIL PROTECTED]]
> Sent: 16 January 2001 10:27
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] DOM
>
> James
>
> My guess is that whatever the site, the dat will be in a table.
> It is fairly trivial to strip
uickly but I've had a very brief look at the PHP DOM
access libraries and they look like much harder work (especially as I'm new
to programming).
Thanks
James
-Original Message-
From: Tom [mailto:[EMAIL PROTECTED]]
Sent: 16 January 2001 10:27
Cc: [EMAIL PROTECTED]
Subjec
ilable on the client? If that's the case then
> PHP
> > can't be used to read them because it's limited to the server side?
> >
> > Thanks
> >
> > James
> >
> > -Original Message-
> > From: Michael Stearne [mailto:[EMAIL PROTECT
0:31
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] DOM
James
If I'm reading your many posts right, then what you are trying to do is pull
the
share prices from the same site at (say) half hourly intervals, so that you
can
use them yourself / analyse them or whatever.
In this case, I suspect that t
then PHP
> can't be used to read them because it's limited to the server side?
>
> Thanks
>
> James
>
> -Original Message-
> From: Michael Stearne [mailto:[EMAIL PROTECTED]]
> Sent: 13 January 2001 17:06
> To: James Duncan
> Cc: [EMAIL PROTECTED]
&
-Original Message-
>From: Cynic [mailto:[EMAIL PROTECTED]]
>Sent: 14 January 2001 17:14
>To: James Duncan
>Cc: [EMAIL PROTECTED]
>Subject: RE: [PHP-WIN] DOM
>
>Well, after writing that mail I checked libxml's homepage, and
>it seems they've managed to build in
Oh that sounds promising... I will have to go check their website myself now
;) Thanks for all your help on this matter!
James
-Original Message-
From: Cynic [mailto:[EMAIL PROTECTED]]
Sent: 14 January 2001 17:14
To: James Duncan
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] DOM
Well
17:01
>To: James Duncan; [EMAIL PROTECTED]
>Cc: [EMAIL PROTECTED]
>Subject: RE: [PHP-WIN] DOM
>
>What you want has already been done, with two different
>approaches: DOM XML functions and Sablotron functions (SAX
>interface). Just
created by the parser), just like I do with IE and
Javascript.
Thanks
PS: I am learning slowly so don't get to mad with me ;)
-Original Message-
From: Cynic [mailto:[EMAIL PROTECTED]]
Sent: 14 January 2001 17:01
To: James Duncan; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE
he data
>back to the server, where PHP can process it.
>
>Thanks
>
>James
>
>-Original Message-
>From: Cynic [mailto:[EMAIL PROTECTED]]
>Sent: 14 January 2001 01:38
>To: James Duncan; [EMAIL PROTECTED]
>Cc: [EMAIL PROTECTED]
>Subject: RE: [PHP-WIN] DOM
>
es
-Original Message-
From: Cynic [mailto:[EMAIL PROTECTED]]
Sent: 14 January 2001 01:38
To: James Duncan; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] DOM
It's not PHP vs. DOM. It's XML (DOM) vs. (bad) HTML. PHP just
provides you with an interface to an XML pars
On 13 Jan 2001 14:22:24 -0800, James Duncan <[EMAIL PROTECTED]> wrote:
>the client's last request. If I do a client pull I will have all the clients
>polling the server every minute or so asking for new data regardless if any
>exists or not. This could cause serious overloading of the server, wher
t;
>Thanks
>
>James
>
>
>-Original Message-
>From: Cynic [mailto:[EMAIL PROTECTED]]
>Sent: 14 January 2001 00:07
>To: James Duncan; [EMAIL PROTECTED]
>Cc: [EMAIL PROTECTED]
>Subject: RE: [PHP-WIN] DOM
>
>I should warn you that XML functions require th
ames
-Original Message-
From: Cynic [mailto:[EMAIL PROTECTED]]
Sent: 14 January 2001 00:07
To: James Duncan; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] DOM
I should warn you that XML functions require the document to be
very 'correct'. Most (I guess 98%... I wish
ame easy way as I can via
>Javascript in IE?
>
>Thanks
>
>James
>
>
>-Original Message-
>From: Cynic [mailto:[EMAIL PROTECTED]]
>Sent: 13 January 2001 23:22
>To: James Duncan; [EMAIL PROTECTED]
>Cc: [EMAIL PROTECTED]
>Subject: RE: [PHP-WIN] DOM
>
>You don't
EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] DOM
You don't understand the basic concept.
DOM (Document Object Model) is a tree representing the structure
of a document, where the elements (logically separated parts of)
content is enclosed within tags to allow for co
only available on the client? If that's the case then PHP
>can't be used to read them because it's limited to the server side?
>
>Thanks
>
>James
>
>-Original Message-
>From: Michael Stearne [mailto:[EMAIL PROTECTED]]
>Sent: 13 January 2001 17:06
se serious overloading of the server, whereas a
server push would only occur when new data exists.
Any ideas?
Thanks
James
-Original Message-
From: Corn Vollney-R7019C [mailto:[EMAIL PROTECTED]]
Sent: 13 January 2001 20:15
To: 'James Duncan'; [EMAIL PROTECTED]
Cc: [EMAIL PR
t;
> James
>
>
> -Original Message-----
> From: Michael Stearne [mailto:[EMAIL PROTECTED]]
> Sent: 13 January 2001 18:40
> To: James Duncan
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP-WIN] DOM
>
> No, actually I think that using PHP
James,
If you are the owner of the dowloaded html page you could use WDDX. Check it
out at WDDX.org.
Voll
-Original Message-
From: James Duncan [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 13, 2001 8:11 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] DOM
rom an HTML file? Example code would be
great ;)
Thanks
James
-Original Message-
From: Michael Stearne [mailto:[EMAIL PROTECTED]]
Sent: 13 January 2001 18:40
To: James Duncan
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] DOM
No, actually I think that using PHP to insert the
tearne [mailto:[EMAIL PROTECTED]]
> Sent: 13 January 2001 17:32
> To: James Duncan
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP-WIN] DOM
>
>
> On Saturday, January 13, 2001, at 12:20 PM, James Duncan wrote:
>
> > I don't think this will
nuary 2001 17:32
To: James Duncan
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] DOM
On Saturday, January 13, 2001, at 12:20 PM, James Duncan wrote:
> I don't think this will work in my case because I don't control the layout
> of the HTML page and hence can
d correctly by the Javascript
code you inserted through PHP.
Michael
>
> Thanks
>
> James
>
> -Original Message-
> From: Michael Stearne [mailto:[EMAIL PROTECTED]]
> Sent: 13 January 2001 17:06
> To: James Duncan
> Cc: [EMAIL PROT
used to read them because it's limited to the server side?
Thanks
James
-Original Message-
From: Michael Stearne [mailto:[EMAIL PROTECTED]]
Sent: 13 January 2001 17:06
To: James Duncan
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] DOM
Could you do something like:
myForm.myField.value
Could you do something like:
myForm.myField.value=tablejames.firstChild.childNodes[1].childNodes[4].firstChild.firstChild.node
Value;
Set up a form of hidden fields. Extract the values from the DOM and then have the
user hit a Submit button to get to the next page. At that point the values
To extract data from a file, look for fread() in the manual to write the
complete file in a variable, then edit the text in the variable with some of
the string commands found, for example, at php.net/manual/en/ref.strings.php
Then choose one of the numerous databases supported by php and save wha
Hi folks,
I'm still new to HTML, Javascript and PHP but learning (fast hopefully).
I've just started accessing DOM elements. I have worked out how to update
the contents of table cells directly using this method, etc. In Javascript I
would use code like:
alert("Value is: " +
tablejames.firstCh
33 matches
Mail list logo