[PHP-WIN] DOM/XML -> PHP 5.0.3 HowTo?

2006-03-03 Thread S.F. Alim
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

[PHP-WIN] dom xml extension questions

2003-05-31 Thread Ken Sanderson
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

[PHP-WIN] DOM installation

2003-02-19 Thread Heikki Pulliainen
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

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

[PHP-WIN] dom

2003-02-07 Thread parvez Soobhany
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

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
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

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
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

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

[PHP-WIN] DOM

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