470,866 Members | 1,862 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,866 developers. It's quick & easy.

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,
Jul 17 '05 #1
2 1656
>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?


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
Jul 17 '05 #2
I opened in from remote site using the web browser.
How can I check if it worked.

Thanks

Bart,
go***********@burditt.org (Gordon Burditt) wrote in message news:<cl********@library2.airnews.net>...
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?


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

Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Srdjan Pejic | last post: by
10 posts views Thread by John Smith | last post: by
9 posts views Thread by C.Joseph Drayton | last post: by
10 posts views Thread by eholz1 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.