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
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
is that
> the same PHP code can be used to search ANY HTML file and recover the
> required data without source code changes. That's the idea but whether it's
> actually possible in reality is another matter ;)
>
> Thanks
>
> James
>
> -Original Message-----
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
ed server-side, whereas at the
>moment
>>I'm having to send the HTML file to IE, run Javascript DOM code to extract
>>the #text values, dump those values into a hidden field and post the data
>>back to the server, where PHP can process it.
>>
>>Thanks
>&g
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
28 matches
Mail list logo