View Full Version : upload script
kaotic
January 3rd, 2003, 12:40 AM
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
Jubba
January 3rd, 2003, 12:52 AM
I haven't checked it yet, but thats awesome! Thank you... I hope I can get it to work.
kaotic
January 3rd, 2003, 02:17 AM
no problem
ill be on the look out for some other usefull stuff
Jubba
January 4th, 2003, 01:31 AM
I can't get the script to work... have you tried it? Has anyone else tried it?
c0ldfusion
January 4th, 2003, 09:44 PM
Jubba, what's wrong with the code?
BuGMaN
January 4th, 2003, 11:02 PM
I just tried it on my website and it works fine....
http://www.gamrical.net/updown/updown.php
c0ldfusion
January 4th, 2003, 11:52 PM
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...
BuGMaN
January 5th, 2003, 12:21 AM
Make sure you get the Absolute Path right as well or it wont work as i found out.
Jubba
January 5th, 2003, 02:27 AM
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
c0ldfusion
January 5th, 2003, 04:27 PM
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
Jubba
January 6th, 2003, 02:28 AM
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 :)
c0ldfusion
January 6th, 2003, 05:01 PM
heh... no problem ... glad i could help :)
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.