OZONE Asylum
Forums
Server-Side Scripting - Oh my!
Problem with parsing remote xml files
This page's ID:
27694
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
I believe TP's code won't parse anything more than the 4069 bytes of a file. Just my quick interpretation of the [url=http://us2.php.net/fread]fread[/url] docs and I could very well be wrong so you could try changing 4096 to something greater or You have a couple of options the best probably being this: while (!feof($file)) { $contents .= fread($handle, 8192); } or the PHP 5+ version $contents = stream_get_contents($handle); [img]http://www.bitdamaged.com/graphics/bitsig.gif[/img] .:[ Never resist a perfect moment ]:.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »
Maximum Security
OZONE
DHTML/Javascript
Server-Side Scripting - Oh my!
CSS - DOM - XHTML - XML - XSL - XSLT
Stupid Basic HTML
Visual Therapy
Photoshop
Photoshop Pong, Anyone?
***WARNING*** BIG SIG APPROACHING
Photography
3D Modelling & Rendering
Multimedia/Animation
Print Graphics
Holding Pens
Philosophy and other Silliness
Outpatient Counseling
Site reviews!
Mad Scientists' Laboratory
Getting to know the Grail