I wrote a quick and dirty PHP upload script so I could host a few images. I figured that I could adjust the script to be modified via a configuration script and make it usable in a number of different situations. Nothing real fancy.
sc_uploader.inc.php, modify the
$SC_RELATIVE_PATH variable to point to the directory where you want to place your uploads, relative to the location of the uploader script. Also, modify
$SC_BASE_URL to be the web-accessable URL for the directory where your uploads are located.
For example, if I had my uploader script located at
http://www.example.com/upload/ and I wanted my images to be uploaded to
http://www.example.com/images/, I would set
$SC_RELATIVE_PATH to “../images/” and
$SC_BASE_URL to “http://www.example.com/images/”.
It is licensed under the GNU General Public License v.2. You can download it here. (ZIP, 4KB)