PHP Simplicity Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

The latest version of Simplicity oF Upload is 1.3.2.

Author Topic: Future Version Suggestions  (Read 3818 times)

0 Members and 1 Guest are viewing this topic.

Craig

  • Newbie
  • *
  • Offline Offline
  • Posts: 4
    • View Profile
Future Version Suggestions
« on: May 26, 2004, 07:54:00 PM »

This topic would have come up sometime, so what not now? Here's some things I think would be great to add:
    Flood protection: Keep an IP from uploading x files per hour.
    Ban from upload: This is kind of a two-parter. First, have the uploader create a log.txt to log what IP uploaded what file and when, then it could be used to ban users from the uploader. Might be useless, since flood protection, though.
    User login: I recommend a login panel to see and delete files from the specified directory to store the files.[/list]
    Logged

    Saleh

    • Administrator
    • Full Member
    • *****
    • Offline Offline
    • Posts: 222
      • View Profile
      • PHP Simplicity
    Re: Future Version Suggestions
    « Reply #1 on: May 27, 2004, 05:23:43 AM »

    thanks for the suggestions..
    I think the Flood protection will be in the next Beta ;D

    but as for the rest, I think they will have to wait :P
    because they are major changes..
    Logged

    We don't need a reason to help people

    Bonzo

    • Newbie
    • *
    • Offline Offline
    • Posts: 6
      • View Profile
    Re: Future Version Suggestions
    « Reply #2 on: June 06, 2004, 11:24:23 AM »

    One thing I would like is a list of file types allowed and maximum files sizes.

    Anthony
    Logged
    Beer is Best

    Saleh

    • Administrator
    • Full Member
    • *****
    • Offline Offline
    • Posts: 222
      • View Profile
      • PHP Simplicity
    Re: Future Version Suggestions
    « Reply #3 on: June 06, 2004, 12:47:49 PM »

    One thing I would like is a list of file types allowed and maximum files sizes.

    Anthony
    in the latest beta 4+, once you have exceded one of the limits,limits specifications will apear for you! :D

    and as for the flood protection, it wont be strong!
    making it strong will require logging in a file and lots of stuff, which will make the script lose it's soul :-\
    « Last Edit: June 06, 2004, 12:59:19 PM by Saleh »
    Logged

    We don't need a reason to help people

    Bonzo

    • Newbie
    • *
    • Offline Offline
    • Posts: 6
      • View Profile
    Re: Future Version Suggestions
    « Reply #4 on: June 06, 2004, 01:59:42 PM »

    Sorry I did not explain myself very well.

    Maximum upload file size - so it can be checked before submitting.

    File type - I might only let users upload jpg.

    I know the script checks all this; but it would be nice to inform the user before they try uploading something that will be rejected and this data is already set in SFUConfig.php

    Also is it possible to change the page that confirms the upload - instead of seeing the options to upload again it would go to say the site index page ?

    Anthony
    Logged
    Beer is Best

    Saleh

    • Administrator
    • Full Member
    • *****
    • Offline Offline
    • Posts: 222
      • View Profile
      • PHP Simplicity
    Re: Future Version Suggestions
    « Reply #5 on: June 07, 2004, 05:44:43 AM »

    Quote
    Maximum upload file size - so it can be checked before submitting.
    this means that I should use a client side scripting language! which is JavaScript!
    unfortunatly, javascript does not have access to the file system to see the file size before it's uploaded!!
    I've just read that yesterday :-\

    Quote
    File type - I might only let users upload jpg.
    this might be possible, but again I will have to use javascript...
    I will look on that :)

    Quote
    Also is it possible to change the page that confirms the upload - instead of seeing the options to upload again it would go to say the site index page ?
    yeah, some people asked me for that, too
    I will rearrange the whole script again and add an option to show the results or not ..

    anyway, currently you can do that by replacing this line:

    //we will echo form in any condition..
    echo $form;

    with :

    echo '<a href="http://domain.com/index.php">back to index</a>';
    Logged

    We don't need a reason to help people

    Saleh

    • Administrator
    • Full Member
    • *****
    • Offline Offline
    • Posts: 222
      • View Profile
      • PHP Simplicity
    Re: Future Version Suggestions
    « Reply #6 on: June 08, 2004, 08:14:35 AM »

    Quote
    File type - I might only let users upload jpg.
    I've looked into this, and I am afraid it can't be implemnted!
    because of the [] in the form! if you use this in javascript it will get confused and will pop an error up!!

    there is a walkaround, but it's very silly and will make the script very stupid!! and that is changing the name SFUfile[] to SFUfile1, SFUfile2, .. etc!!
    but it's really not good!


    P.S. the first candidate is out! :)
    « Last Edit: June 08, 2004, 08:16:21 AM by Saleh »
    Logged

    We don't need a reason to help people

    Peter

    • Guest
    Re: Future Version Suggestions
    « Reply #7 on: June 24, 2004, 06:27:58 PM »

    rename files whith same name or block it!
    Logged

    Saleh

    • Administrator
    • Full Member
    • *****
    • Offline Offline
    • Posts: 222
      • View Profile
      • PHP Simplicity
    Re: Future Version Suggestions
    « Reply #8 on: June 25, 2004, 05:08:22 AM »

    rename files whith same name or block it!
    yes, this is planned for 1.1 release :)
    I was thinking about the overwrite option, but renameing ... I gotta think how would I do that ..
    Logged

    We don't need a reason to help people

    Saleh

    • Administrator
    • Full Member
    • *****
    • Offline Offline
    • Posts: 222
      • View Profile
      • PHP Simplicity
    Re: Future Version Suggestions
    « Reply #9 on: August 26, 2004, 11:17:33 AM »

    ok...
    after thinking about all these features requested, I think the only feature which will be implemnted is files overwriting option ..
    because this option might be needed in upload scripts ..
    but all the others doesn't relate to them ! like flood protection and user login for example are regarding authentication but not uploading!
    so I am skipping all these ..
    and 1.1 is almost ready for release with the new option to overwrite files :D
    Logged

    We don't need a reason to help people
     

    + Quick Reply

    With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.
    Name: Email:
    Verification:
    Type the letters shown in the picture
    Listen to the letters / Request another image
    Type the letters shown in the picture:
    What is the answer to one plus one? (in numbers):