Public uploader

Started by rtil, September 14, 2007 11:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

systech

I like looking at stuff in the private uploader i.e. rtil's ssaf drawing :>
<+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

psi43

the uploader is fucked, you can still upload stuff but it doesn't add the stuff to the long list anymore. It does upload it though.

rtil

i'll get around to fixing it .. not on the top of my list though

rtil

long needed update:
1. fixed the problem with the page taking like 5 minutes to load. now it should load in something more like 5 seconds
2. fixed the filesize function call error
3. illegal characters get removed from filenames to prevent future directory listing errors

http://www.thebackalleys.com/ok/public/

sQueef

Quote from: rtillong needed update:
1. fixed the problem with the page taking like 5 minutes to load. now it should load in something more like 5 seconds
2. fixed the filesize function call error
3. illegal characters get removed from filenames to prevent future directory listing errors

http://www.thebackalleys.com/ok/public/
fuck yes
Oh, wretched ephemeral race ... why do you compel me to tell you what it would be most expedient for you not to hear? What is best of all is utterly beyond your reach: not to be born, not to be, to be nothing. But the second best for you is—to die soon.

psi43

still takes a pretty damn long time to load for me

rtil

well that sucks
it was fine only yesterday
wtf happened

rtil

ok, well yeah it's still being fucking slow so i'm going to learn how to just overhaul the damn thing. until then deal with it sadly. but i'm on it

rtil

bottom line i have to learn how to code this with sql. i've been taking tutorials today. i'll try to get working on the actual script tomorrow.

rtil

i'm removing the uploader temporarily while i learn to build a database of files that are already in the folder. then i will re-build the uploader to work with the database

rtil

a database has been created containing all the information of the files already in the folder. i'm going to sleep now but tomorrow i should be able to have the uploader back because this is going much faster than i had anticipated

rtil

ok folks it is done and ready to go  updates:
1. loads fast now.. FOR REAL. index refers to a mysql database instead of re-creating the index in php every time, i.e. it runs about a billion times faster.
2. you can sort (ascending and descending) by name, size and date uploaded

if there are any errors please tell me. i've tested it a lot today and ironed out everything i ran in to

http://www.thebackalleys.com/ok/public/index.php

LOGINOK

looks efficient I suppose

W.A.C.

Wow, it's much faster. Now when I upload mp3s, I won't have to worry about timing out. >_> Also, some mp3 I recently uploaded kinda screwed up the page a little because the mp3 file's name is so dang long. Sorry. <_<

rtil

wow that is long. i'll just tell it to stretch the page accordingly

psi43

6 posts in a row? Here's a 6hours time out for you mr.miller

rtil


oh and i forgot to mention i have to remake the statistics part @ the bottom

W.A.C.

[LINK]

You can remove that if you want. I could always upload it again but under a much shorter file name.

rtil

i know where it is heh. problem is i haven't scripted an admin page for myself to manage and delete files (it's not as easy as deleting from the source anymore). either way, i fixed the width issue and there are now 4 statistics @ the bottom of the page.


|