Page 4 of 6 FirstFirst 123456 LastLast
Results 31 to 40 of 59
  1. #31
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    PHP files shouldn't be hosted anyways.

  2. #32
    Join Date
    Jun 2008
    Location
    Manchester
    Posts
    766
    Tokens
    0

    Default

    Quote Originally Posted by Dentafrice View Post
    PHP files shouldn't be hosted anyways.
    They should aslong as he configures it so when you go on them you download them rather than view them. Otherwise someone would just upload a shell.

  3. #33

    Default

    i like it
    well done
    habbo uk: zabaglione

  4. #34
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Quote Originally Posted by Unhappyness View Post
    They should aslong as he configures it so when you go on them you download them rather than view them. Otherwise someone would just upload a shell.
    Or just store them outside of the public_html directory and use a rewrite to get to them.

    Safe mode is turned on, on his server anyway.

  5. #35
    Join Date
    Dec 2007
    Location
    Manchester
    Posts
    2,236
    Tokens
    118
    Habbo
    hamheyelliot

    Latest Awards:

    Default

    Thanks a lot, fellas.
    I'll be finishing all these new Precautions by tomorrow.
    Should have random file names finished by today.

  6. #36
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    It takes like two seconds...

  7. #37
    Join Date
    Dec 2007
    Location
    Manchester
    Posts
    2,236
    Tokens
    118
    Habbo
    hamheyelliot

    Latest Awards:

    Default

    Well then, I guess I'll be doing it in two seconds...

  8. #38
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    PHP Code:
    $random time() - rand(5900) + time(); 

  9. #39
    Join Date
    Dec 2007
    Location
    Manchester
    Posts
    2,236
    Tokens
    118
    Habbo
    hamheyelliot

    Latest Awards:

    Default

    I don't think that's going to work for DE.
    I have to get extension and all that.

    Working on it anyway.

    EDIT: Using $prefix = substr ( md5(uniqid(rand(),1)), 3, 10);
    works now.
    Last edited by hamheyelliot; 30-08-2008 at 01:01 PM.

  10. #40
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Then just append it..

    PHP Code:
    $filename $random $filename $extension

Page 4 of 6 FirstFirst 123456 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
  •