Connecting Tech Pros Worldwide Forums | Help | Site Map

Uploading images to mysql database

Bartosz Wegrzyn
Guest
 
Posts: n/a
#1: Jul 17 '05
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,

Gordon Burditt
Guest
 
Posts: n/a
#2: Jul 17 '05

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
Bartosz Wegrzyn
Guest
 
Posts: n/a
#3: Jul 17 '05

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]
Closed Thread