2 replies
Hi,

I am new to php.

Right now I am trying some sample php code.

I want to upload image using php.

I have tried but didn't get the output.

Any help will be appreciated.
#image #php #upload
  • Profile picture of the author jernej
    what error did you get?

    is your php.ini configured properly?
    {{ DiscussionBoard.errors[2805946].message }}
    • Profile picture of the author infoman66
      How do you think you don't get the output ...
      You think that picture is not upload on the server or that you can not see it in the browser ...

      Upload the image step:
      html form
      Submit form with file a form field
      => php
      Upload the image on the server
      Save the image on the server in the target directory
      => php or html
      Require an image through the browser..

      Be careful about the size of images, usually because the servers do not allow uploading files larger than 2 - 8 MB through a form (check in php ini) ...
      {{ DiscussionBoard.errors[2808701].message }}

Trending Topics