Upload Script

liunx

Guest
I have an upload script I would like to place into an area of my site with no links (essentially private). Thanks to the cpanel, I have the directory for the cgi-bin so that's covered for the script.<br /><br />I became stumped when the <b>script </b>was asking for where I want the uploaded files to go:<br />$SAVE_DIRECTORY = "put something in here"<br /><br />And on the <b>form</b> line:<br />ACTION="put something in here"<br /><br />If I just make a new folder in my public_html file, I can just use the folder address in the form, but what should the script say? And wouldn't that end up being public if I did it that way? <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/huh.gif" style="vertical-align:middle" emoid=":huh:" border="0" alt="huh.gif" /> I don't think I want it to go to the public area of my site if possible. Or does it matter?<br /><br />I have never used folders outside the website before...new territory so I need guidance. <br /><br />Thank you for assistance.<br />-Samantha<!--content-->
You could have it post to a subfolder under public_html and then use cPanel to password protect that folder.<br /><br />The rest of your question I'm not clear on. Are you running the script and it's asking you these questions? Is this a PHP or a Perl script? Could you possibly paste the whole script into a message or point us to where we can take a look?<!--content-->
Hey folks, I'm moving this to Scripting forum as it's more appropriate there.<br /><br /> <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
 
Top