PDA

Click to See Complete Forum and Search --> : Attach PHP files


TomGibbons
Oct 17th, 2003, 03:04 AM
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.

mendhak
Oct 17th, 2003, 03:12 AM
and HTML and HTM too.

TomGibbons
Oct 17th, 2003, 07:16 AM
Oooo good one :thumb:

No admins around then?

TomGibbons
Oct 17th, 2003, 07:17 AM
There's a :thumb: smilie! Not as good as the one from Galah, or the old Galah. Cool though.

mendhak
Oct 17th, 2003, 07:32 AM
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. :)

brad jones
Oct 17th, 2003, 07:56 AM
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

CyberSurfer
Oct 17th, 2003, 08:27 AM
PHP files aren't executable...why should there be any security issues?

The Hobo
Oct 18th, 2003, 09:51 PM
With a PHP file, wouldn't it just try to run the file when someone clicks on the attachment, rather than download it?

Hampster
Oct 19th, 2003, 06:42 PM
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.

MartinLiss
Oct 19th, 2003, 06:47 PM
I'm neither for nor against adding more file types, but why bother? It's only a small extra step to attach them via a zip file.

The Hobo
Oct 19th, 2003, 08:58 PM
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?

MartinLiss
Oct 19th, 2003, 09:04 PM
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.

The Hobo
Oct 19th, 2003, 09:07 PM
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? :p

mendhak
Oct 19th, 2003, 10:38 PM
That's actually a very annoying feature of XP. Causes a lot of trouble, and especially when trying to FTP.

The Hobo
Oct 19th, 2003, 10:55 PM
I've never even seen this feature before. I think I got scammed on my copy of XP. :mad:

brad jones
Oct 20th, 2003, 09:19 AM
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!

TomGibbons
Oct 20th, 2003, 10:31 AM
Just wanted to say thanks :)

mendhak
Oct 20th, 2003, 02:08 PM
......