- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Too delicious.
Admin
I like the concept that the file is so big it has to be read incrementally.
And then it's urlencoded an slapped into a URL. How long is the url? 100MB?
Good stuff.
Admin
You can do it too!
Admin
Bugs are Schroedinger's Cats. Don't open the box.
In other words always[1] blame the user.
[1] Always, always, always...
Admin
Reading all these comments is the equivalent of reading an article.
Admin
Better yet!
foreach (file($filename) as $line) { $contents.= $line; } $contents=urlencode($contents);
echo "Too Much Data Error, Try freeing up space on your system. Suggest low-level format!";
unset($line); unset($contents); unset($_FILES);
Admin
Admin
It's a berry that is high in fat and cholesterol, and low in simple and complex carbohydrates. Fruit are supposed to provide nutrition for seedlings, but fat is pretty much nutritionally vacuous to plants.
Admin
Admin
Admin
Only if the problem has bad posture, or if the problem is very tired that day. I generally find problems sitting most of the time. Second in frequency is the incidence of problems chatting around the coffee machine or problems in the washrooms.
Admin
The fruit is also supposed to attract the attention of animals likely to disperse the seed. If I recall, the theory is that it evolved along with mammalian megafauna that has since died out?
Admin
Admin
The real mistake is that by mentioning PHP on your résumé you associate yourself with people who have no business programming but somehow know PHP.
Admin
Or just set up a timed dowload program to grap files every 10 min or set up an asynconous queue to handle the transfer
Admin
I guess that's the PHP way for separation of concerns?
Admin
Admin
Admin
I don't use file_get_contents (I have PHP 4.x), I can just make it implode. And it nearly works anyways. Really, it does.