resource-united
thebackalleys
doritos and cummies
You are not logged in.
( Login | Register )

Public uploader

0 Members and 1 Guest are viewing this topic.

Offline Dagolith
  • *
  • 1,834 posts
  • 0
  • Awards OLD SCHOOL: registered before '09
    • http://
  • Liked: 0
  • Likes Given: 0
« Reply #20 on: September 19, 2007 10:01 AM »
fuck the word pyramid!
Quote from: taylor
fuck dagolith
Quote from: systecho
vans with paintings of viking women on them are impervious to all types of damage

Offline systech
Male
  • *
  • always imitated, never duplicated
  • 5,959 posts
  • 164
  • Awards IRCOP: this user is a moderator on the irc! OLD SCHOOL: registered before '09
  • Liked: 0
  • Likes Given: 0
« Reply #21 on: September 19, 2007 10:03 AM »
Quote from: Dagolith
fuck the word pyramid!
Don't diss the word pyramid you anigen
<+fawx> im trying to animate a dick coming out of a toaster how do i go on about doing this
<~rtil> well fawx what you would do is delete the fla and do something productive instead

<+ansel> i lure children into my van with candy and then i read them passages from 'the origin of species'
<%ropesnake> billy con ends with billy raping his cat
<+billymonks> FUCK YOU BUG

<~rtil> ya one time i gave this hobo some cat food and he ate it like the animal he is it pleased me

Offline Dagolith
  • *
  • 1,834 posts
  • 0
  • Awards OLD SCHOOL: registered before '09
    • http://
  • Liked: 0
  • Likes Given: 0
« Reply #22 on: September 20, 2007 01:07 AM »
You, take, that, BACK!
Quote from: taylor
fuck dagolith
Quote from: systecho
vans with paintings of viking women on them are impervious to all types of damage

Offline systech
Male
  • *
  • always imitated, never duplicated
  • 5,959 posts
  • 164
  • Awards IRCOP: this user is a moderator on the irc! OLD SCHOOL: registered before '09
  • Liked: 0
  • Likes Given: 0
« Reply #23 on: September 20, 2007 10:34 AM »
Quote from: Dagolith
You, take, that, BACK!
Word filter

stupid canuck hosehead idiot
<+fawx> im trying to animate a dick coming out of a toaster how do i go on about doing this
<~rtil> well fawx what you would do is delete the fla and do something productive instead

<+ansel> i lure children into my van with candy and then i read them passages from 'the origin of species'
<%ropesnake> billy con ends with billy raping his cat
<+billymonks> FUCK YOU BUG

<~rtil> ya one time i gave this hobo some cat food and he ate it like the animal he is it pleased me

Offline Dagolith
  • *
  • 1,834 posts
  • 0
  • Awards OLD SCHOOL: registered before '09
    • http://
  • Liked: 0
  • Likes Given: 0
« Reply #24 on: September 20, 2007 03:30 PM »
you think i didn't know that?

suck my cock yank.
« Last Edit: September 20, 2007 03:31 PM by Dagolith »
Quote from: taylor
fuck dagolith
Quote from: systecho
vans with paintings of viking women on them are impervious to all types of damage

Offline mishkamash
  • *
  • 4,154 posts
  • 0
  • Awards OLD SCHOOL: registered before '09
    • http://mishkamash.sheezyart.com/
  • Liked: 0
  • Likes Given: 0
« Reply #25 on: September 20, 2007 03:43 PM »
dear god this is funny
<lenko> i saw a hedgehog on the way home if i was drunk i would have yelled IM DOCTOR RRRRROBOTNIK and chased it 

Offline rtil
  • *
  • ¯\_(ツ)_/¯
  • 25,168 posts
  • 653
  • Awards IRCOP: this user is a moderator on the irc! PIZZABABY SUPPORTER: this member donated to zhi's pizzababy! OLD SCHOOL: registered before '09
    • rtil_yep on Skype
    • http://www.thebackalleys.com
  • Liked: 0
  • Likes Given: 0
« Reply #26 on: November 8, 2007 12:53 AM »
update. tried to program sort by date and it was taking me ages, so i changed it to this:

http://www.thebackalleys.com/ok/public/ is a file index, you can sort by date, size and name with the server's built-in but less pretty looking tools. you go to
http://www.thebackalleys.com/ok/public/!_upload_a_file/ to upload. after it uploads it gives you a direct link to the file you just uploaded. it'll have to do for now. at least it's better than the old one. for now i have to figure out how to make a working uploader with sortable arrays, or just download one that works well.

Offline ZekeySpaceyLizard
  • *
  • dinky doodle
  • 4,947 posts
  • 61
  • Awards IRCOP: this user is a moderator on the irc! OLD SCHOOL: registered before '09
    • zekeyspaceylizard on Skype
    • http://zekeyspaceylizard.blogspot.com
  • Liked: 0
  • Likes Given: 0
« Reply #27 on: November 8, 2007 01:36 AM »
Quote from: REDMONGOOSE
what is wrong with imageshack


Yahoo ads slowing it down, fucking it up, making it crash.

edit: shit works fine for me. no time outs. provides a link.
I assume the list of files where the folder that leads to uploader is, is most recent files first. Not alphabetical. Cause I notice the thing I uploaded shoved the folder down.

Offline rtil
  • *
  • ¯\_(ツ)_/¯
  • 25,168 posts
  • 653
  • Awards IRCOP: this user is a moderator on the irc! PIZZABABY SUPPORTER: this member donated to zhi's pizzababy! OLD SCHOOL: registered before '09
    • rtil_yep on Skype
    • http://www.thebackalleys.com
  • Liked: 0
  • Likes Given: 0
« Reply #28 on: November 8, 2007 03:22 AM »
it will link you to the most recently uploaded, yes. but the default view for that folder is simply alphabetical

Offline psi43
Male
  • *
  • purple poop
  • 9,075 posts
  • 52
  • Awards OLD SCHOOL: registered before '09 IRCOP: this user is a moderator on the irc!
  • Liked: 0
  • Likes Given: 0
« Reply #29 on: November 8, 2007 05:20 AM »
allow .doc files so I can use it for school.

Offline shittyfurryass
  • *
  • 416 posts
  • 1
  • Awards OLD SCHOOL: registered before '09
    • http://furfag.com
  • Liked: 0
  • Likes Given: 0
« Reply #30 on: November 8, 2007 03:00 PM »
Quote from: rtil
update. tried to program sort by date and it was taking me ages, so i changed it to this:

http://www.thebackalleys.com/ok/public/ is a file index, you can sort by date, size and name with the server's built-in but less pretty looking tools. you go to
http://www.thebackalleys.com/ok/public/!_upload_a_file/ to upload. after it uploads it gives you a direct link to the file you just uploaded. it'll have to do for now. at least it's better than the old one. for now i have to figure out how to make a working uploader with sortable arrays, or just download one that works well.

i just started working on a file uploader yesterday from scratch that integrates with the site I am working on, and I can probably assist you if you want

the appearance is a little rough around the edges since i just started working on it

http://furfag.com/y/72933590/ooooog.PNG

Offline rtil
  • *
  • ¯\_(ツ)_/¯
  • 25,168 posts
  • 653
  • Awards IRCOP: this user is a moderator on the irc! PIZZABABY SUPPORTER: this member donated to zhi's pizzababy! OLD SCHOOL: registered before '09
    • rtil_yep on Skype
    • http://www.thebackalleys.com
  • Liked: 0
  • Likes Given: 0
« Reply #31 on: November 8, 2007 04:13 PM »
where i ran into problems was figuring out how to sort a multidimensional array, if that's even the best way to go about it. i solved the sorting problem by using a numerical value for date(), like date(ymd). in that format rsort() would always sort the dates of the uploaded files in the right order. so then i tried doing something like using a multidimensional array with a row for each file, with a parameter for the file name, file size, display date and hidden numerical date for sorting.
it was there i realized i have no idea how to sort an array like that based on one of the columns in a row. i looked for about 2 hours then gave up. i don't even think i had the for loop inputting data in the table properly. it's like once you add another column to an array things get ten thousand times more confusing.
« Last Edit: November 8, 2007 04:14 PM by rtil »

Offline shittyfurryass
  • *
  • 416 posts
  • 1
  • Awards OLD SCHOOL: registered before '09
    • http://furfag.com
  • Liked: 0
  • Likes Given: 0
« Reply #32 on: November 8, 2007 06:54 PM »
have you thought about using mysql, rather than depending on the file's data alone?  It is probably more simple to keep it with php only, and depend on the files, but when I tried this with mysql it seems that it opens more options due to you could add fields on how you want to list the file information(example, sort by address that uploaded, or exclude files that people set as private, built in logging, keywords, etc). Not only that, but mysql results come in an array that seems simple to organize, let me paste a part of the source code on what i am working on as an example.  keep in mind that this is source is mixed with things that aren't relevant to what i am talking about
Code: [Select]
mysql_select_db("beta_FF",$con);
if((filter_var($_GET["sort"], FILTER_VALIDATE_INT)) && ($_GET["sort"] > 0) && ($_GET["sort"] < 6))
    {
    if ($_GET["sort"] == 1)
        {
        $result = mysql_query("SELECT * FROM filedump ORDER BY uploadID");
        }
    if ($_GET["sort"] == 2)
        {
        $result = mysql_query("SELECT * FROM filedump ORDER BY filename");
        }
    if ($_GET["sort"] == 3)
        {
        $result = mysql_query("SELECT * FROM filedump ORDER BY filename DESC");
        }
    if ($_GET["sort"] == 4)
        {
        $result = mysql_query("SELECT * FROM filedump ORDER BY type");
        }
    if ($_GET["sort"] == 5)
        {
        $result = mysql_query("SELECT * FROM filedump ORDER BY type DESC");
        }
    }
else
    {
    $result = mysql_query("SELECT * FROM filedump ORDER BY uploadID DESC");
    }
$S_print=$S_print . "<table width=\"100%\">";

while($row = mysql_fetch_array($result))
{
$showthumb = str_replace(" ","%20",$row['thumbnail']);
$S_print=$S_print . "<tr><td class=\"showthumbnail\" style=\"background-image:url($showthumb);\"><a href=\"" . $row['Name'] . "/" . $row['filename'] . "\"><img src=\"files/blues/thumbsmall.png\" /></a></td><td width=\"65%\"><span>". $row['filename'] . "</span></td><td><span>" . $row['type'] . "</span></td><td><span>" . $row['date'] . "</span></td></tr>";
}
$S_print=$S_print . "</table>";
$S_thead="<span>Sort: <a href=\"?page=dump\">[Date DESC]</a><a href=\"?page=dump&sort=1\">[Date ASC]</a><a href=\"?page=dump&sort=2\">[Name ASC]</a><a href=\"?page=dump&sort=3\">[Name DESC]</a><a href=\"?page=dump&sort=4\">[Type ASC]</a><a href=\"?page=dump&sort=5\">[Type DESC]</a>";
« Last Edit: November 8, 2007 06:56 PM by shittyfurryass »

Offline adamant
  • *
  • 1,610 posts
  • 0
  • Awards OLD SCHOOL: registered before '09
    • http://www.mightybearrr.deviantart.com
  • Liked: 0
  • Likes Given: 0
« Reply #33 on: November 8, 2007 07:34 PM »
Quote from: Zekey

amazing  

Offline rtil
  • *
  • ¯\_(ツ)_/¯
  • 25,168 posts
  • 653
  • Awards IRCOP: this user is a moderator on the irc! PIZZABABY SUPPORTER: this member donated to zhi's pizzababy! OLD SCHOOL: registered before '09
    • rtil_yep on Skype
    • http://www.thebackalleys.com
  • Liked: 0
  • Likes Given: 0
« Reply #34 on: November 8, 2007 07:46 PM »
Quote from: shittyfurryass
have you thought about using mysql, rather than depending on the file's data alone?  It is probably more simple to keep it with php only, and depend on the files, but when I tried this with mysql it seems that it opens more options due to you could add fields on how you want to list the file information(example, sort by address that uploaded, or exclude files that people set as private, built in logging, keywords, etc). Not only that, but mysql results come in an array that seems simple to organize, let me paste a part of the source code on what i am working on as an example.  keep in mind that this is source is mixed with things that aren't relevant to what i am talking about
Code: [Select]
mysql_select_db("beta_FF",$con);
if((filter_var($_GET["sort"], FILTER_VALIDATE_INT)) && ($_GET["sort"] > 0) && ($_GET["sort"] < 6))
    {
    if ($_GET["sort"] == 1)
        {
        $result = mysql_query("SELECT * FROM filedump ORDER BY uploadID");
        }
    if ($_GET["sort"] == 2)
        {
        $result = mysql_query("SELECT * FROM filedump ORDER BY filename");
        }
    if ($_GET["sort"] == 3)
        {
        $result = mysql_query("SELECT * FROM filedump ORDER BY filename DESC");
        }
    if ($_GET["sort"] == 4)
        {
        $result = mysql_query("SELECT * FROM filedump ORDER BY type");
        }
    if ($_GET["sort"] == 5)
        {
        $result = mysql_query("SELECT * FROM filedump ORDER BY type DESC");
        }
    }
else
    {
    $result = mysql_query("SELECT * FROM filedump ORDER BY uploadID DESC");
    }
$S_print=$S_print . "<table width=\"100%\">";

while($row = mysql_fetch_array($result))
{
$showthumb = str_replace(" ","%20",$row['thumbnail']);
$S_print=$S_print . "<tr><td class=\"showthumbnail\" style=\"background-image:url($showthumb);\"><a href=\"" . $row['Name'] . "/" . $row['filename'] . "\"><img src=\"files/blues/thumbsmall.png\" /></a></td><td width=\"65%\"><span>". $row['filename'] . "</span></td><td><span>" . $row['type'] . "</span></td><td><span>" . $row['date'] . "</span></td></tr>";
}
$S_print=$S_print . "</table>";
$S_thead="<span>Sort: <a href=\"?page=dump\">[Date DESC]</a><a href=\"?page=dump&sort=1\">[Date ASC]</a><a href=\"?page=dump&sort=2\">[Name ASC]</a><a href=\"?page=dump&sort=3\">[Name DESC]</a><a href=\"?page=dump&sort=4\">[Type ASC]</a><a href=\"?page=dump&sort=5\">[Type DESC]</a>";
i hardly know anything about mysql, much less how to code in it. the syntax looks like stuff i could pick up quickly since it looks so similar, but at the moment i'm a little burned out on the idea. what i have now is rudimentary but it works. if i ever wanted to make something fancy i might pick it up again at a later date

Offline KingDavid
  • *
  • 935 posts
  • 1
  • Awards OLD SCHOOL: registered before '09
    • http://
  • Liked: 0
  • Likes Given: 0
« Reply #35 on: November 12, 2007 03:59 PM »
Quote from: unconditionallyguarANTeed
Quote from: Zekey

amazing  

!!
Quote from: taylor
Quote from: Sinitron
it sucks ass okay

and muse isnt that great anyway
thanks ill use this comment to help myself improve

Offline MRat
Male
  • *
  • MRAT-A-TAT-TAT
  • 3,747 posts
  • 3
  • Awards OLD SCHOOL: registered before '09
    • RRCarell on Skype
    • DeviantArt
  • Liked: 0
  • Likes Given: 0
« Reply #36 on: November 14, 2007 02:13 PM »


There, I tried it out with that. It works awesome for me. I'll probably use it every now and then.
I was gone, FOR SO LONG

Offline SHADOWFOX2
  • *
  • 2,222 posts
  • 111
  • Awards IRCOP: this user is a moderator on the irc! PIZZABABY SUPPORTER: this member donated to zhi's pizzababy! OLD SCHOOL: registered before '09
    • SHADOWFOX11590 on Skype
    • http://www.kd2music.com/
  • Liked: 0
  • Likes Given: 0
« Reply #37 on: November 17, 2007 03:25 AM »
Haha, that's exactly why I hate programming...
Quote from: Tom
I followed a certain anigen in here one day
Quote from: lenko
also i made tea instead of coffee fuckkkkkkkk
Quote from: lenko
sugar MAKES the tea
Quote from: spite
I'm going to trick the top professional NBA basketball players to touch a magic basketball that absorbs all of their talent; Then combine their talent with mine own and destroy the world by reverse slam dunking over Micheal Jordan from half-court.
Quote from: Mad Meat
Unlike before, when I`m ejaculating, there aren`t any ``sperm`` coming out anymore, and I am wondering if it is a bad thing? will it be permanent? or in the worst case, do anybody know what I should do?
then again, sorry for that question

Offline rtil
  • *
  • ¯\_(ツ)_/¯
  • 25,168 posts
  • 653
  • Awards IRCOP: this user is a moderator on the irc! PIZZABABY SUPPORTER: this member donated to zhi's pizzababy! OLD SCHOOL: registered before '09
    • rtil_yep on Skype
    • http://www.thebackalleys.com
  • Liked: 0
  • Likes Given: 0
« Reply #38 on: May 16, 2008 02:10 AM »
just an update people, i've fixed up the uploader a bit. now, the file listing is on the same page in alphabetical order, with some stats underneath. i'm working on adding the date uploaded and making it sortable by date as well. http://thebackalleys.com/ok/public
« Last Edit: May 16, 2008 02:10 AM by rtil »

Offline psi43
Male
  • *
  • purple poop
  • 9,075 posts
  • 52
  • Awards OLD SCHOOL: registered before '09 IRCOP: this user is a moderator on the irc!
  • Liked: 0
  • Likes Given: 0
« Reply #39 on: May 16, 2008 02:41 AM »
Total files: 520
Average file size: 422.6KB
Total directory size: 219.8MB

lmfao, I like how about 85% of the files were uploaded by me.