Upload script

heres an uploading script i found
migth be usefull to all you php junkies
lets users upload and download from a directory on your server

I haven’t checked it yet, but thats awesome! Thank you… I hope I can get it to work.

no problem
ill be on the look out for some other usefull stuff

I can’t get the script to work… have you tried it? Has anyone else tried it?

Jubba, what’s wrong with the code?

I just tried it on my website and it works fine…

http://www.gamrical.net/updown/updown.php

*Originally posted by Jubba *
**I can’t get the script to work… have you tried it? Has anyone else tried it? **

maybe you are setting the php variables wrong…

Make sure you get the Absolute Path right as well or it wont work as i found out.

I’m not really sure what absolute_path should be. I tried a few different things, like:

public_html/livetosk/upload/upload

/home/livetosk/public_html/upload/upload

for determining the absolute path (that i was talking about), i have a solution;
make a .php file containing:

<?
echo getcwd();
?>

upload this file in the folder you will use the uploader script and see what absolute path it echo’s

I got it. My paths were right, but for some reason my host wouldn’t let me set the folder to the right permissions. I got it working now though. Thank you :slight_smile:

heh… no problem … glad i could help :slight_smile: