Re: [PHP] Getting source from remote file

2010-05-06 Thread Peter Lind
On 6 May 2010 10:47, Auto-Deppe C. Hänsel c.haen...@auto-deppe.de 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

Re: [PHP] Getting source from remote file

2010-05-06 Thread Michiel Sikma
On 6 May 2010 10:55, Peter Lind peter.e.l...@gmail.com 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

RE: [PHP] Getting source from remote file

2010-05-06 Thread Auto-Deppe C . Hänsel
On 6 May 2010 10:55, Peter Lind peter.e.l...@gmail.com 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

Re: [PHP] Getting source from remote file

2010-05-06 Thread Peter Lind
On 6 May 2010 14:20, Auto-Deppe C. Hänsel c.haen...@auto-deppe.de 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