Re: [PHP-WIN] dom

2003-02-10 Thread Per Lundberg
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

Re: [PHP-WIN] DOM

2001-01-17 Thread Tom
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

RE: [PHP-WIN] DOM

2001-01-17 Thread James Duncan
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

Re: [PHP-WIN] DOM

2001-01-16 Thread Tom
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-----

RE: [PHP-WIN] DOM

2001-01-15 Thread James Duncan
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

Re: [PHP-WIN] DOM

2001-01-15 Thread Tom
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] &

RE: [PHP-WIN] DOM

2001-01-14 Thread Cynic
-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

RE: [PHP-WIN] DOM

2001-01-14 Thread James Duncan
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

RE: [PHP-WIN] DOM

2001-01-14 Thread Cynic
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

RE: [PHP-WIN] DOM

2001-01-14 Thread James Duncan
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

RE: [PHP-WIN] DOM

2001-01-14 Thread Cynic
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 >

RE: [PHP-WIN] DOM

2001-01-14 Thread James Duncan
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

Re: [PHP-WIN] DOM

2001-01-13 Thread Chris Adams
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

RE: [PHP-WIN] DOM

2001-01-13 Thread Cynic
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

RE: [PHP-WIN] DOM

2001-01-13 Thread James Duncan
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

RE: [PHP-WIN] DOM

2001-01-13 Thread Cynic
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

RE: [PHP-WIN] DOM

2001-01-13 Thread James Duncan
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

RE: [PHP-WIN] DOM

2001-01-13 Thread Cynic
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

RE: [PHP-WIN] DOM

2001-01-13 Thread James Duncan
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

RE: [PHP-WIN] DOM

2001-01-13 Thread Michael Stearne
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

RE: [PHP-WIN] DOM

2001-01-13 Thread Corn Vollney-R7019C
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

RE: [PHP-WIN] DOM

2001-01-13 Thread James Duncan
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

RE: [PHP-WIN] DOM

2001-01-13 Thread Michael Stearne
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

RE: [PHP-WIN] DOM

2001-01-13 Thread James Duncan
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&#x

RE: [PHP-WIN] DOM

2001-01-13 Thread Michael Stearne
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

RE: [PHP-WIN] DOM

2001-01-13 Thread James Duncan
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

Re: [PHP-WIN] DOM

2001-01-13 Thread Michael Stearne
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

Re: [PHP-WIN] DOM

2001-01-12 Thread Alain Samoun
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