Forum Moderators: coopster

Message Too Old, No Replies

Source Code gets messy with fsockopen

         

Blooish

10:13 am on Mar 5, 2008 (gmt 0)

10+ Year Member



I try to read a website and find some info i need, but when i read this website, sometimes parts of the text get messy. For example <span> could become <sp 2000 an> or informatio could become info 2000 rmation .
Because of these additional numbers 2000 my script fails.
Please help me.
PS: i have tried to convert the source code to utf-8,but it is a nonsense as the page's encoding is utf-8.

dreamcatcher

8:55 am on Mar 14, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Blooish,

Looks like you`ve got everyone stumped with this one. Have you tried file_get_contents [uk2.php.net] instead?

dc