[rejected] upload mod dir to admin/mods through browser
Forum rules
DO NOT give out any FTP passwords to anyone! There is no reason to do so! If you need help badly enough, create a temporary FTP account that is restricted to only the files that you need help with and give the information for that. Giving out FTP information can be very dangerous!
DO NOT give out any FTP passwords to anyone! There is no reason to do so! If you need help badly enough, create a temporary FTP account that is restricted to only the files that you need help with and give the information for that. Giving out FTP information can be very dangerous!
- chickeneater
- Registered User
- Posts: 36
- Joined: Mon Aug 11, 2003 3:08 am
- Contact:
Re: upload mod dir to admin/mods through browser
hmm... that is odd, because there are several online file browsers/uploading scripts that work fine without 777. it shouldn't make a difference if it is server to server or client to server because that is what the other file browsers/uploading scripts do. I might be totally wrongNuttzy99 wrote:You guys are missing what FTP is doing. The FTP in EM is not a communication from your client (webbrowsing) computer to the server. It is from the server to the server. In order for EM to FTP from your machine to the server you would need to be running an FTP server on your client computer.
A 777 upload directory would work though.
-Nuttzy
Re: upload mod dir to admin/mods through browser
Bingochickeneater wrote:I might be totally wrong
-Nuttzy
- chickeneater
- Registered User
- Posts: 36
- Joined: Mon Aug 11, 2003 3:08 am
- Contact:
Re: upload mod dir to admin/mods through browser
so you are saying that it is impossible to integrate a file browser/uploader into phpbb?
Re: upload mod dir to admin/mods through browser
Honestly CE, don't you think it's a bit overshooting the target implementing half a pafiledb just to upload something you could FTP up in the blink of an eye? People have to do this anyway with the board itself - implementing upload routines and the related security issues are just... way too much, IMO. Sorry, mate, I see your point, but... I think this one goes to the rejected stack for now.
Maybe this kinda thing will be easier in phpbb 2.2 with its new functions
Maybe this kinda thing will be easier in phpbb 2.2 with its new functions
-
- Registered User
- Posts: 81
- Joined: Mon May 26, 2003 5:27 pm
- Location: Wherever I am.
- Contact:
Re: upload mod dir to admin/mods through browser
Not a pafiledb. It would be very simple to write an uploader, I can write a simple, one-file uploader with less than 50 lines of code (probably). With a few more I could probably make it unzip zip files too.
And you don't need FTP, there is a function called move_uploaded_file that is very simple.
http://www.php.net/manual/en/features.file-upload.php" target="_blank
And you don't need FTP, there is a function called move_uploaded_file that is very simple.
http://www.php.net/manual/en/features.file-upload.php" target="_blank
hello
-
- Registered User
- Posts: 82
- Joined: Sun Mar 02, 2003 11:54 am
- Contact:
Re: upload mod dir to admin/mods through browser
yes, but the difficulty is to make it compatible with all the PHP installationLLKwerv wrote:Not a pafiledb. It would be very simple to write an uploader,
again, yes, but it could work for you but not on my serverI can write a simple, one-file uploader with less than 50 lines of code (probably). With a few more I could probably make it unzip zip files too.
And you don't need FTP, there is a function called move_uploaded_file that is very simple.
and again, this function could work on some installation but not on other, where you need to use copy()
The best way to know how t's dufficult to implement an uploader for phpBB is to take a look at the Attachment MOD of Acyd Burn
phpBB MOD-Team Member - Check my MOD's
Support For my MOD's
Attachment MOD User Guide || Log Actions MOD User Guide
No support by PM/Email - Thanks - You want to help me ? Click here
Support For my MOD's
Attachment MOD User Guide || Log Actions MOD User Guide
No support by PM/Email - Thanks - You want to help me ? Click here
-
- Registered User
- Posts: 81
- Joined: Mon May 26, 2003 5:27 pm
- Location: Wherever I am.
- Contact:
Re: upload mod dir to admin/mods through browser
oh. Sorry, I was talking about my installations, I guess some places would need other stuff.
(why does that DO that with the oops?)
(why does that DO that with the oops?)
hello
-
- Registered User
- Posts: 82
- Joined: Sun Mar 02, 2003 11:54 am
- Contact:
Re: upload mod dir to admin/mods through browser
phpBB 2.2 is an alpha software so there is still bugsLLKwerv wrote: (why does that DO that with the oops?)
phpBB MOD-Team Member - Check my MOD's
Support For my MOD's
Attachment MOD User Guide || Log Actions MOD User Guide
No support by PM/Email - Thanks - You want to help me ? Click here
Support For my MOD's
Attachment MOD User Guide || Log Actions MOD User Guide
No support by PM/Email - Thanks - You want to help me ? Click here