General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old May 6th, 2003, 08:39 AM
bEeZm bEeZm is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: usa
Posts: 5 bEeZm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to bEeZm Send a message via Yahoo to bEeZm
Exclamation more BLOB problems

Ok I am having more problems with the article "Blobbing Data with PHP and MySQL"

When I upload a small file it works just fine, but when I upload a larger file, for example, 8mb or so. It gives me an error saying something like fread(); is an invalid stream resource on line 31.
This only happens when I try to uploaded larger files. What is the problem? i know it's on LONGBLOB, so that's not the problem.

any ideas??


Reply With Quote
  #2  
Old May 6th, 2003, 08:45 AM
infamous-online infamous-online is offline
Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 404 infamous-online User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 24 m 44 sec
Reputation Power: 7
Red face Re: more BLOB problems

Quote:
Originally posted by bEeZm
Ok I am having more problems with the article "Blobbing Data with PHP and MySQL"

When I upload a small file it works just fine, but when I upload a larger file, for example, 8mb or so. It gives me an error saying something like fread(); is an invalid stream resource on line 31.
This only happens when I try to uploaded larger files. What is the problem? i know it's on LONGBLOB, so that's not the problem.

any ideas??



in your php.ini file did you change the default file it can handle


anyways this is off the topic but, what's your os and what version of mysql are you using, also what version of php are you using as well because i can't get this to work for me at all



__________________
Apache Expert

Reply With Quote
  #3  
Old May 6th, 2003, 09:02 AM
bEeZm bEeZm is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: usa
Posts: 5 bEeZm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to bEeZm Send a message via Yahoo to bEeZm
Well...

I buy hosting. But it is a linux bux, running red hat i think. And it's all the latest versions of stuff.

i really need to get this to work though, cause i am making a big upload/download site and I NEED to be able to upload larger files.


Reply With Quote
  #4  
Old May 6th, 2003, 09:11 AM
infamous-online infamous-online is offline
Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 404 infamous-online User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 24 m 44 sec
Reputation Power: 7
Quote:
Originally posted by bEeZm
Well...

I buy hosting. But it is a linux bux, running red hat i think. And it's all the latest versions of stuff.

i really need to get this to work though, cause i am making a big upload/download site and I NEED to be able to upload larger files.




well maybe your host doesn't allow certain file sizes?

have you tried uploading something let's say 2 megs?

Reply With Quote
  #5  
Old May 6th, 2003, 12:31 PM
bEeZm bEeZm is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: usa
Posts: 5 bEeZm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to bEeZm Send a message via Yahoo to bEeZm
they wouldn't limit me like that, don't have a crappy place like homestead or sumthin.

i tried a 1.57mb file and it just doesnt work, spits out couldnt add file to db.

well i just really need to know how to get it to be able to upload bigger files.


still need help here.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > more BLOB problems


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway