Jump to content


This topic is now archived and is closed to further replies.


PHP/cURL Image Upload

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.

Share this post

Link to post
Share on other sites


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.