loadHTML/loadHTMLFile - DOM functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

Again a question on the new DOM functions...

The loadHTML function doesn't support any attribute and I'm wondering how to handle non-text content. Image tags from source webpage are loaded as "objects" or whatever; they appear as special chars("show source" from browser shows big empty spaces)... Isn't it possible to "load" the real source code? Special characters, like the german "ä" is also badly converted into some bizarr "ä" equivalent...

I tried both functions loadHTML($string) ($string = file_gets_content(url)) and loadHTMLFile(url). Both with the same result...

Has anyone an idea how to do it?

Thanks

LS
-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux