DarkHavoc Posted October 27, 2003 Posted October 27, 2003 (edited) hey guys! im working hard on my webpage but i got some questions.. i seen features at other sites where users get a browse and upload button etc to upload a file into the webpage... i think its done through ftp but its all web based. can someone show me how to do it? thanks dennis Critical Mass: Moved to here for Dark and removed duplicate post. Edited October 27, 2003 by Critical Mass Quote
DarkHavoc Posted October 27, 2003 Author Posted October 27, 2003 (edited) CM: Topics merged Edited October 27, 2003 by Critical Mass Quote
borfast Posted October 27, 2003 Posted October 27, 2003 Hi Dennis. I just create my own upload scripts for each situation but you may prefer to use a pre-made script. Check this page and see if it has a script that fits your needs: www.hotscripts.com/PHP/Scripts_and_Programs/File_Manipulation/Upload_Systems/index.html Hope it helps Quote
DarkHavoc Posted October 27, 2003 Author Posted October 27, 2003 hi thanks I dont know any PHP so it wont be easy for me to get everything going. //Full server path to the directory that holds the uploader files (must contain trailing slash at beginning and end) //If you are unsure of this, see the read me file $server_path = "/home/pathto/yourfolder/maian_uploader/"; //URL to the directory that holds your uploader files (NO trailing slash at the end) $url_path = "http://yoursite.com/maian_uploader"; -- just wondering what that should be assuming i will be http://terminatorsoflife.com assuming ill make anthor folder directly outside of www called /php/ -- thx, Quote
vendlus Posted October 27, 2003 Posted October 27, 2003 If your upload files are in your main directory, then the first one is going to be something like >$server_path = "/home/THClogin/public_html/"; where you replace THClogin with whatever your username is (since it's the same as your main folder). You're correct in that the second one will be $url_path = "http://terminatorsoflife.com"; Like I said, these are assuming your files are in your main directory. *edit* yeah, I copied things wrong and that $url_path was in there twice. Quote
DarkHavoc Posted October 27, 2003 Author Posted October 27, 2003 thanks it works just making sure hte security is good on it now Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.