Results 1 to 18 of 18

Thread: Attach PHP files

  1. #1

    Thread Starter
    Frenzied Member TomGibbons's Avatar
    Join Date
    Feb 2002
    Location
    San Diego, CA Previous Location: UK
    Posts
    1,345

    Attach PHP files

    Could you add 'php' to the list of attachment extensions? It's currently not possible to attach php files without renaming them to something which is allowed.

    Thanks, Tom.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    and HTML and HTM too.

  3. #3

    Thread Starter
    Frenzied Member TomGibbons's Avatar
    Join Date
    Feb 2002
    Location
    San Diego, CA Previous Location: UK
    Posts
    1,345
    Oooo good one

    No admins around then?

  4. #4

    Thread Starter
    Frenzied Member TomGibbons's Avatar
    Join Date
    Feb 2002
    Location
    San Diego, CA Previous Location: UK
    Posts
    1,345
    There's a smilie! Not as good as the one from Galah, or the old Galah. Cool though.

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Might as well go for the whole webfiles thing then. add to that .ASPX, .CFM, .PHTML, .PHP3, .CHM, .SHTML, .ASA

    I think that's about it. And if you're drunk, add a .FROG extention too.

  6. #6
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614
    I'm making sure there are no issues (security) with including PHP file extensions. If none are found, then we will add this and the other extensions -- that make sense.

    On a lot of forums, uploads are limited to compressed files and graphics.....

    Brad
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  7. #7
    Hyperactive Member CyberSurfer's Avatar
    Join Date
    Aug 2000
    Location
    Old London Town
    Posts
    425
    PHP files aren't executable...why should there be any security issues?

  8. #8
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    With a PHP file, wouldn't it just try to run the file when someone clicks on the attachment, rather than download it?
    My evil laugh has a squeak in it.

    kristopherwilson.com

  9. #9
    Hyperactive Member Hampster's Avatar
    Join Date
    Feb 2001
    Location
    On my hamster wheel.
    Posts
    374
    Originally posted by The Hobo
    With a PHP file, wouldn't it just try to run the file when someone clicks on the attachment, rather than download it?
    It would if it was stored in a directory.
    If this board is configured like all the other vB forums I've seen, then it should store it in the mySQL database, and thus would not run the PHP file server side.

  10. #10

  11. #11
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    But then to view someone's code, I'd have to download it, unzip it, and then open it, rather than just clicking a link.

    People would be more open to helping others if there weren't so many steps involved. You know?
    My evil laugh has a squeak in it.

    kristopherwilson.com

  12. #12
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431
    With XP you just double click the attachment and the OS asks if you want to open it. You then can double click any one of the files it contains. In other words unless you want to, there's no specific downloading or unzipping required.

  13. #13
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Originally posted by MartinLiss
    With XP you just double click the attachment and the OS asks if you want to open it. You then can double click any one of the files it contains. In other words unless you want to, there's no specific downloading or unzipping required.
    So you're saying everyone on the forums needs to go out and buy Windows XP in order to enjoy this place?
    My evil laugh has a squeak in it.

    kristopherwilson.com

  14. #14
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    That's actually a very annoying feature of XP. Causes a lot of trouble, and especially when trying to FTP.

  15. #15
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    I've never even seen this feature before. I think I got scammed on my copy of XP.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  16. #16
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614
    Additional file types were added last Friday -- just in case any of you didn't notice.....

    (I agree with MartinLiss though -- zip files are a good way to go)

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  17. #17

    Thread Starter
    Frenzied Member TomGibbons's Avatar
    Join Date
    Feb 2002
    Location
    San Diego, CA Previous Location: UK
    Posts
    1,345
    Just wanted to say thanks

  18. #18
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    ......
    Attached Files Attached Files

Posting Permissions

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



Click Here to Expand Forum to Full Width