|
#1
|
||||
|
||||
Disabling Needing NFO.
As you know not all releases have NFO's, just wondering if there's an easy way to do this?
Regards Phogo |
#2
|
||||
|
||||
I know the don't, I'm not sure why not though.
But I didn't quite understand what you need?
__________________
CLICK HERE FOR IMPORTANT NEWS FROM BVLIST!! "Always do sober what you said you'd do drunk. That will teach you to keep your mouth shut." Ernest Hemingway. "A positive attitude will not solve all your problems, but it will annoy enough people to make it worth the effort." Herm Albright. |
#3
|
||||
|
||||
basicly i don't want to have to upload an NFO. i would like it optional.
|
#4
|
||||
|
||||
Oh, I'll look in the code when I get home!
CLICK HERE nick: Test pass: user1234 Go here and play around in settings if you are afraid to mess something up on your tracker
__________________
CLICK HERE FOR IMPORTANT NEWS FROM BVLIST!! "Always do sober what you said you'd do drunk. That will teach you to keep your mouth shut." Ernest Hemingway. "A positive attitude will not solve all your problems, but it will annoy enough people to make it worth the effort." Herm Albright. |
#5
|
||||
|
||||
its alright thanks buddy, im on localhost
|
#6
|
|||
|
|||
/////////////////////// NFO FILE ////////////////////////
if(isset($_FILES['nfo']) && !empty($_FILES['nfo']['name'])) { $nfofile = $_FILES['nfo']; if ($nfofile['name'] == '') bark("No NFO!"); if ($nfofile['size'] == 0) bark("0-byte NFO"); if ($nfofile['size'] > 65535) bark("NFO is too big! Max 65,535 bytes."); $nfofilename = $nfofile['tmp_name']; if (@!is_uploaded_file($nfofilename)) bark("NFO upload failed"); $nfo = sqlesc(str_replace("\x0d\x0d\x0a", "\x0d\x0a", @file_get_contents($nfofilename))); } /////////////////////// NFO FILE END ///////////////////// |
#7
|
||||
|
||||
Quote:
Last edited by Phogo; 10th October 2008 at 22:07. |
#8
|
|||
|
|||
for upload
tr("NFO file", "<input type=\"file\" name=\"nfo\" size=\"80\" /><br />(<b>Optional.</b> Can only be viewed by power users.)\n", 1); |
Tags |
disabling , needing , nfo |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Torrentstrike v0.5 is needing a new coat | Tony | Torrent Strike | 4 | 16th October 2016 11:07 |
Disabling DHT | Matroska | Community Cafe | 2 | 5th December 2008 12:08 |