View Single Post
  #3 (permalink)  
Old Apr 7th, 2008, 20:50
CloudedVision's Avatar
CloudedVision CloudedVision is offline
Nerdy Moderator
Join Date: Feb 2008
Location: In My Own Little World
Age: 14
Posts: 859
Blog Entries: 6
Thanks: 2
Thanked 15 Times in 15 Posts
Send a message via AIM to CloudedVision Send a message via MSN to CloudedVision Send a message via Skype™ to CloudedVision
Re: fread only reading 78 characters

Quote:
Originally Posted by c010depunkk View Post
How about using file_get_contents().... Much simpler and I've never had problems with this function.
I've already solved this problem, turns out it was not necessary to have cURL write to a temporary file, it could output the contents straight to a variable.

But thanks anyways, that tip will come in handy.
__________________
echo "Take it easy, ".$CloudedVision;
.links { site: other-road-design; blog: only-nerds-allowed; project: resource-fish; organization: ARMIES6; }
<quote>&quot;I think it's wrong that only one company makes the game Monopoly&quot; - <name>Steven Wright</name></quote>
Reply With Quote