Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Dec 2004
    Location
    UK
    Posts
    4,014
    Tokens
    0

    Latest Awards:

    Default Allowing other people to upload things onto my site?

    This is rather hard to explain.
    I know how to set up accounts for other people to upload files from an FTP client, but is it at all possible to create accounts to let people upload files to a folder of my choice without the need of an FTP client?
    Not sure if I explained that very well.
    Currently using LC-hosting.com, which uses c panel 10 (If that helps at all).
    Thanks in advance for any help given.

  2. #2
    Join Date
    Jun 2006
    Location
    Northamptonshire
    Posts
    1,063
    Tokens
    0

    Latest Awards:

    Default

    So basically a file uploader?


    Edit: If its a file upload use this which i got from tech tuts but i customised it a bit.

    Create a file called upload.php, then put this into it and save:

    PHP Code:
    <?php
    $upload_name 
    "File Uploader";
    $upload_dir "folderforfilestogo/";
    $num_files "1";
    $size_bytes "2000000";
    $limitedext = array(".gif",".jpg",".jpeg",".png",".txt",".htm",".html",".zip",".rar"".psd",);
    ?>
    Now save that, now create a folder called something like files, uploads etc in the directory you saved the 2 files in and in uploadconnect.php edit '$upload_dir = "folderforfilestogo/";' to the folder you want to files to go to.

    Once done that, CHMOD the folder that the files will go to, to 777 and it should work!

    Good luck
    Last edited by Impossible; 19-07-2006 at 06:54 AM.
    :eusa_whis

  3. #3
    Join Date
    Dec 2004
    Posts
    7,327
    Tokens
    1,276
    Habbo
    ---MAD---

    Latest Awards:

    Default

    Quote Originally Posted by Rуαи
    So basically a file uploader?


    Edit: If its a file upload use this which i got from tech tuts but i customised it a bit.

    Create a file called upload.php, then put this into it and save:

    PHP Code:
    <?php
    $upload_name 
    "File Uploader";
    $upload_dir "folderforfilestogo/";
    $num_files "1";
    $size_bytes "2000000";
    $limitedext = array(".gif",".jpg",".jpeg",".png",".txt",".htm",".html",".zip",".rar"".psd",);
    ?>
    Now save that, now create a folder called something like files, uploads etc in the directory you saved the 2 files in and in uploadconnect.php edit '$upload_dir = "folderforfilestogo/";' to the folder you want to files to go to.

    Once done that, CHMOD the folder that the files will go to, to 777 and it should work!

    Good luck
    I might try that actually, I can think of a few places to use it, thanks
    Last edited by ---MAD---; 19-07-2006 at 08:59 AM.
    ---MAD---

  4. #4
    Join Date
    Nov 2005
    Location
    Australia
    Posts
    1,086
    Tokens
    111

    Latest Awards:

    Default

    I think his asking for something that will let them edit the folder and able to upload files onto the folder.? Correct me if I got it wrong.


  5. #5
    Join Date
    Apr 2005
    Location
    South Wales!
    Posts
    3,535
    Tokens
    2,371

    Latest Awards:

    Default

    techtuts has two trypes examples can be found here www.ironcat.co.uk/uploader. although one doesnt work

  6. #6
    Join Date
    Dec 2004
    Location
    UK
    Posts
    4,014
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by additional
    I think his asking for something that will let them edit the folder and able to upload files onto the folder.? Correct me if I got it wrong.
    That's what I meant, but I'm a she
    Thanks for the help so far, just about to try them out.
    +rep.

  7. #7
    Join Date
    Jun 2006
    Location
    Northamptonshire
    Posts
    1,063
    Tokens
    0

    Latest Awards:

    Default

    Wait, i posted it wrong..

    I think when i put in two [php] codes it messed up i will post it properly when i get home from school!
    :eusa_whis

  8. #8
    Join Date
    Dec 2004
    Location
    UK
    Posts
    4,014
    Tokens
    0

    Latest Awards:

    Default

    Ok, none of them work for me, although it's proably me doing something wrong- I'm blonde, it happens often.
    I currently have this one up - http://techtuts.com/?view=tutorials&act=tutorial&id=159
    and it can be found here http://www.rashelly.com/upload

  9. #9
    Join Date
    Jun 2006
    Location
    Northamptonshire
    Posts
    1,063
    Tokens
    0

    Latest Awards:

    Default

    Don't use that one :] Use the one i tried posting -

    http://techtuts.com/?view=tutorials&act=tutorial&id=169

    Hope that helps, and now i only need 1 more point to get 200 rep :}
    :eusa_whis

  10. #10
    Join Date
    Dec 2004
    Location
    UK
    Posts
    4,014
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by awelsh
    techtuts has two trypes examples can be found here www.ironcat.co.uk/uploader. although one doesnt work
    Could you possibly PM me the exact scripts that you have on the uploader? (The one that works) I tried doing it on www.rashelly.com/uploader the form seems fine, and the connect file was copied exactly from techtuts (http://techtuts.com/?view=tutorials&act=tutorial&id=169) - I try to test it, no error messages appear, but the files don't appear in the folder?

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •