Uploading images to mysql database

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bartosz Wegrzyn

    #1

    Uploading images to mysql database

    I followed the tutorian on


    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

    #2
    Re: Uploading images to mysql database

    >I followed the tutorian on[color=blue]
    >http://www.phpbuilder.com/columns/florian19991014.php3
    >
    >unfortunalet y 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

    Comment

    • Bartosz Wegrzyn

      #3
      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@b urditt.org (Gordon Burditt) wrote in message news:<clsdp6$bn l@library2.airn ews.net>...[color=blue][color=green]
      > >I followed the tutorian on
      > >http://www.phpbuilder.com/columns/florian19991014.php3
      > >
      > >unfortunalet y 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]

      Comment

      Working...