View previous topic :: View next topic |
Author |
Message |
masa -
Joined: 05 Apr 2004 Posts: 182 Location: Hong Kong
|
Posted: Mon May 24, 2004 2:50 pm Post subject: sorry to ask another upload script |
|
|
again...... i hate this error that i told with line errors even the register globals thing i still hate whats going on. give me a script that had 100% perfect and a one that can upload any file extension but i hate errors and its very annoying and frustrating for other peoples like my friends!!! _________________ Visit http://web26.hopto.org:443/ please help me make my site better http://web26.hopto.org:443/ |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
|
Back to top |
|
 |
masa -
Joined: 05 Apr 2004 Posts: 182 Location: Hong Kong
|
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Tue May 25, 2004 11:49 am Post subject: |
|
|
// Adding More File Extensions //
To Add more extensions to the file uploader
script , open index.php and edit line 15
$extensions = ".gif$|.jpg$"; //just Add |.zip$ or |.exe$
READ THE GODDAM README FILE BEFORE YOU CALL PEOPLE WHO TRY TO HELP YOU DUMBASSES. Jesus christ. If you can't be bothered to put a single drop of effort in, don't ask for any more help here. |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Wed May 26, 2004 7:29 pm Post subject: |
|
|
See , I told you its easy !
Just change line 15 to the extensions you
want to allow , I only added it for security! |
|
Back to top |
|
 |
masa -
Joined: 05 Apr 2004 Posts: 182 Location: Hong Kong
|
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Fri Jun 11, 2004 11:44 am Post subject: |
|
|
Put your fingers on the beige thing in front of you. We call it a keyboard. TYPE THE EXTENSIONS YOU WANT TO ALLOW INTO THE SCRIPT. Save it. Finished.
For example, if i wanted to add the following extensions :
.masa, .needs, .to, .stop, .spamming, .the, .forum, .with, .dumb, .questions
I would edit the line like this :
From :
$extensions = ".gif$|.jpg$"; //just Add |.zip$ or |.exe$
To :
$extensions = ".gif$|.jpg$|.masa$|.needs$|.to$|.stop$|.spamming$|.the$|.forum$|.with$|.dumb$|.questions$";
EXACTLY AS IT SAYS NEXT TO THE CODE ON THE SAME LINE. |
|
Back to top |
|
 |
masa -
Joined: 05 Apr 2004 Posts: 182 Location: Hong Kong
|
|
Back to top |
|
 |
masa -
Joined: 05 Apr 2004 Posts: 182 Location: Hong Kong
|
|
Back to top |
|
 |
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Fri Jun 11, 2004 9:58 pm Post subject: |
|
|
Go onto www.hotscripts.com and look for a new one (and please read the included documentation on how to configure it). _________________ Bienvenidos! |
|
Back to top |
 |
 |
|