Re: [PHP] Getting source from remote file

2010-05-06 Thread Peter Lind
On 6 May 2010 14:20, Auto-Deppe C. Hänsel wrote: > > Hi all, and thanks a lot for your suggestions. It works well now. > The only problem I do have are german "Umlaute" [äöü] when receiving the > content of the remote page. > It#s formatted in iso-8859-1 and I'd rather have it in UTF-8. But > ut

RE: [PHP] Getting source from remote file

2010-05-06 Thread Auto-Deppe C . Hänsel
> On 6 May 2010 10:55, Peter Lind wrote: > > You could parse the document with the DOM classes. Load as a > DOMDocument, then grab what's needed with the relevant methods (you > can use xpath to single out your divs with the right classes). > http://dk2.php.net/domdocument > > > Xpath is indeed th

Re: [PHP] Getting source from remote file

2010-05-06 Thread Michiel Sikma
On 6 May 2010 10:55, Peter Lind wrote: > > > You could parse the document with the DOM classes. Load as a > DOMDocument, then grab what's needed with the relevant methods (you > can use xpath to single out your divs with the right classes). > http://dk2.php.net/domdocument > > > Xpath is indeed t

Re: [PHP] Getting source from remote file

2010-05-06 Thread Peter Lind
On 6 May 2010 10:47, Auto-Deppe C. Hänsel wrote: > Hi guys and girls, > > okay, this is a dumbnut question I wouldn't bother asking but I really > did hit a spot now where I am totally wedged up in my head and can't think > straight anymore... so the, I bet easy, answer to my question escapes

[PHP] Getting source from remote file

2010-05-06 Thread Auto-Deppe C . Hänsel
Hi guys and girls, okay, this is a dumbnut question I wouldn't bother asking but I really did hit a spot now where I am totally wedged up in my head and can't think straight anymore... so the, I bet easy, answer to my question escapes me. What I am trying to do is the following: Read the con