Connecting Tech Pros Worldwide Help | Site Map

Uploading images to mysql database

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 09:21 AM
Bartosz Wegrzyn
Guest
 
Posts: n/a
Default Uploading images to mysql database

I followed the tutorian on
http://www.phpbuilder.com/columns/florian19991014.php3

unfortunalety I receive this error

Warning: fread(): supplied argument is not a valid stream resource in
/mnt/raid/WWWROOT/lexon.ws/IMAGES/addbinary1/store.php on line 24

What is wrong?

Thanks

BArt,

  #2  
Old July 17th, 2005, 09:21 AM
Gordon Burditt
Guest
 
Posts: n/a
Default Re: Uploading images to mysql database

>I followed the tutorian on[color=blue]
>http://www.phpbuilder.com/columns/florian19991014.php3
>
>unfortunalety I receive this error
>
>Warning: fread(): supplied argument is not a valid stream resource in
>/mnt/raid/WWWROOT/lexon.ws/IMAGES/addbinary1/store.php on line 24
>
>What is wrong?[/color]

Where did you open the file stream you are using in that fread() call?
Hint: it didn't open right. You might try checking whether it
worked (and logging an error) before proceeding to try reading the file.

Gordon L. Burditt
  #3  
Old July 17th, 2005, 09:22 AM
Bartosz Wegrzyn
Guest
 
Posts: n/a
Default Re: Uploading images to mysql database

I opened in from remote site using the web browser.
How can I check if it worked.

Thanks

Bart,


gordonb.p8jh0@burditt.org (Gordon Burditt) wrote in message news:<clsdp6$bnl@library2.airnews.net>...[color=blue][color=green]
> >I followed the tutorian on
> >http://www.phpbuilder.com/columns/florian19991014.php3
> >
> >unfortunalety I receive this error
> >
> >Warning: fread(): supplied argument is not a valid stream resource in
> >/mnt/raid/WWWROOT/lexon.ws/IMAGES/addbinary1/store.php on line 24
> >
> >What is wrong?[/color]
>
> Where did you open the file stream you are using in that fread() call?
> Hint: it didn't open right. You might try checking whether it
> worked (and logging an error) before proceeding to try reading the file.
>
> Gordon L. Burditt[/color]
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.