phpUploader v2.1 - Opensource php based auto uploader

Status
Not open for further replies.

Lifetalk

Active Member
4,392
2008
2,119
530
Wtf is this? Who the heck are you?
This is phpUploader. An open source and/or free, php based auto uploader. I'm lifetalk - a pretty much unknown figure around here.

What does it do?
FFS! I can't be arsed to keep updating this paragraph, lol. This shit does a lot of stuff. Have a look at the changelog.

Features:
- Downloads from RS/HF/FS/MU (Vanilla and LeechMod)
- Extracts files (Vanilla)
- Can extract password protected RAR's (Vanilla)
- Renames the extracted files (Vanilla)
- Changes the MD5 hash of the files (Vanilla)
- If extracted/downloaded files are videos, MTN will create a screencap and upload it to LulzImg (Vanilla/LeechMod)
- Re-Rar's the extracted file with a custom RAR name (Vanilla)
- Can password protect the new RAR files (Vanilla)
- Will generate a post layout using IMDB info (Vanilla and LeechMod)
- Uploads files back to RS/HF/FS/MU (Vanilla and LeechMod)

Extended features:
- You can add multiuser authentication to the script's access. (Vanilla and LeechMod)
- Notifies you via email and/or flashing screen/sound on completion (Vanilla)
- Uses binary rar/unrar so your server does not need RAR/UNRAR installed (Vanilla)
- Plugin based system (Don't bother with this - Vanilla and LeechMod)
- Can delete unnecessary files from the downloaded RAR (Vanilla)
- Can add your custom files to the new RAR (Vanilla)
- I don't remember the rest.. seriously!


Which filehosts?
At the moment:
- FileServe (Download/Upload)
- Hotfile (Download/Upload)
- Rapidshare (Download/Upload)
- Megaupload (Download/Upload)

Why did you release it for free? (Insert random negative effect of doing so, here)
Fuck you!

Can I donate $XYZ to you?
No.

Why?
Because I don't want to make money off warez.

But this is opensource!
Fuck you, again :|

Everyone will use this script to make money, though!
So be it. Look at the positive side. There will be a lot more 'alive' links. Yeah there might be spam, but there's also going to be more choice, variety, etc etc shit.

Got screens?
No. Too lazy to screenshot the new v2.0 release. I haz the Vanilla screens now. Someone screenshot the LeechMod release and PM me pl0xxxxxxxxx. Thankeeeeeeeeeee.

Vanilla Screens:

[slide]http://lulzimg.com/i3/4b45ea9b.png[/slide]
[slide]http://lulzimg.com/i3/80c3759f.png[/slide]
[slide]http://lulzimg.com/i3/8c6448d6.png[/slide]

Vanilla (l0calh0st GUI) Screen:

[slide]http://lulzimg.com/i3/c9ef5d54.png[/slide]


Download v2.1 LeechMod:
http://dl.dropbox.com/u/7114595/phpUploader/phpUploader_v2.1_LeechMod.zip

Download v2.1 Vanilla:
http://dl.dropbox.com/u/7114595/phpUploader/phpUploader_v2.1_Vanilla.zip


Thanks to:
- DeLeTeD for his awesome IMDB mod and skinning phpUploader
- Ronald for designing the skin :D
- deAthbLiss for his rename mod

Special thanks to:
- Somik for his loadza mods and his dedication to making phpUploader better. And of course, to his VPS, for helping us figure out what a possible problem could be :P
- v3g3t4 for his consistent beta testing :D We'll be sure to consistently bug you in future releases, mate :P

Bugs/reports?
Reply here. PMs WILL be ignored.

Prerequisites:
- PHP Safe Mode disabled.
- PHP cURL extension installed.
- Upload to Rapidshare uses the FileMigrator API function. You need to unlock your RS account (security lock).

How do I install RAR/UNRAR on my VPS/server?
If you have ssh access, then either of the two commands will work for you:
Code:
yum install rar unrar -y
OR
Code:
cd /tmp
wget http://www.rarlabs.com/rar/rarlinux-3.8.0.tar.gz
tar -zxvf rarlinux-3.8.0.tar.gz
cd rar
./rar
./unrar
cp rar unrar /usr/bin/
cd
Warning: We are not responsible for how you use the script. Do not use any script modifications or plugin(s) from anyone you dont trust, as they may modify the script to cause harm to your host or premium accounts.


I'll update this post if I've missed stuff out :)
 
684 comments
Nah somik. Browsers usually don't timeout if they receive output. The flush() command in various parts of the script forces output to the browser. I've had the script run for over 15 minutes on firefox and chrome (reuploading a 2gig file to HF/FS/RS). The same browsers timed out in about 30 seconds on ShareShiz's server.

EDIT: Even when the browser times out, the process runs. I'm not sure how long it runs for, but it does run (because I kept refreshing FTP and the file download was actually progressing).
 
got it xD

Lifetalk PM me for it. i made it for you :P

Why not for me? :(

Oh wait, i got my own mails :p


That could have been the official phpuploader mail! LOL

All the coders/testers/helpers get access to it xD

Lol, that works too :p


Nah somik. Browsers usually don't timeout if they receive output. The flush() command in various parts of the script forces output to the browser. I've had the script run for over 15 minutes on firefox and chrome (reuploading a 2gig file to HF/FS/RS). The same browsers timed out in about 30 seconds on ShareShiz's server.

Yes, flush works, but only after u initiate ob_start() function. Then flush works. Otherwise you will have to use flush_implicit() (not sure of syntext).


EDIT: Even when the browser times out, the process runs. I'm not sure how long it runs for, but it does run (because I kept refreshing FTP and the file download was actually progressing).

Yea, but not for long. However vegeta fixed it so hats down to him! Even i didn't know how to do that but that guy is good!

Anyway, everything is done on this end, so any more sugestions? Also, lifetalk, hows ur new hosts plugin systems coming along?
 
ob_start() is not necessary. That's how I used to do it until I researched a bit more. flush() basically outputs all the data that the script currently has, to the browser. So you don't actually need to initiate (and then end) an output buffer. Easy/quick way out.

ignore_user_abort is actually a great fix. Didn't think of that earlier. Nice fix, v3g :)

I'm thinking of keeping the same plugin system. Consolidating all hosts in one file is, IMO, a better idea. Maintains efficiency because you don't have to include more files and such. I'm going to add new filehost support though. I have a fair few filehosts in mind. I just need to snap out of my 'laziness' though :P
 
erm.. just a small point from my side, while uploading/downloading a big file there's no flush or any output to the browser. That's where ShareShiz' server stops responding!

I think the mail-the-whole-thing mod would be a better replacement. Who the heck want's to see a loading screen the whole time when they can get the output in the mail!

End of discussion xD
 
I agree with you there Bhagi (vegeta) :)

And lifetalk, add more file hosts to download. For uploading, current ones are great :)
 
I'm going to add Netload for download/upload as they have an API. Pretty easy to implement. And then I'll move on to DepositFiles (probably) and then FileSonic (maybe) :P

And I also had Megashares in mind. Let's see how it goes, though :P
 
I'm going to add Netload for download/upload as they have an API. Pretty easy to implement. And then I'll move on to DepositFiles (probably) and then FileSonic (maybe) :P

And I also had Megashares in mind. Let's see how it goes, though :P

You know I want MS babeh <3 :D
 
has imdb been updated looks to me like they changed thier layout and mine isnt grabbing the imdb now
Even they have changed their layout, its working quite well here.

@ lifetalk/somik: Can you guys add support for uploading to freakshare?
 
Don't be that lazy guys -_-

The prime motive of phpuploader is to reupload the content that's already available on some filehostings/direct links. If at all the torrent feature is added, then you guys would request it to grab the info too. That'll be the first request, followed by auto-post on forums -_-

If anyone is willing to work on that part, then we're ready to help. Else, enjoy the present features till we go nuts and go for a major update =D
 
I'm just a little busy these days with studies + paypal fuckups on my other service + other random stuff.

Soon as I get some decent amount of time, I'll collaborate with somik and (if v3g wants to hop in) v3g and we'll go for a major update with bug fixes, code optimization, new features, etc.


EDIT: I won't be adding an auto forum poster and/or a blog/rss/forum crawler/leecher. Don't ask me why. You won't get an answer to that question. The only answer is no, just no.
 
Status
Not open for further replies.
Back
Top