Jump to content

PHP/cURL Image Upload


AshAsirus

Recommended Posts

What I would like to do is allow the use to use a form to browse their local machine, choose a file then hit submit. After which a script runs and creates a sized thumbnail and large size version of the image on the web server.

I am using dreamhost and they do not allow file access for PHP for security reasons, so I am having to use cURL which I am not familiar with. If someone could give me some example code so I could see how this is done I would be forever grateful.

My first post, hope this is a good php board, would like to stick around for future questions/helping others.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.