We attached 2 .php files into a reply but your system .zipped them. That's ok but when you download them from the attachment it's impossible to open the files.
The files are renamed to prevent the same files from getting uploaded over each other. For example, an index.php file might already be there. However we are going to work on a folder structure to prevent this in the future and so that file names can be left alone.
For some reason, it\'s reading them as zip files when it names them. However, if you download the file, and rename it to a *.php file, you will be able to open it.
Hey, guys!
We attached 2 .php files into a reply but your system .zipped them. That's ok but when you download them from the attachment it's impossible to open the files.
That\'s very odd, it shouldn\'t be zipping them. I attached one to this comment to test it out.
And here\'s three PHP files to make sure it\'s not zipping them up.
I\'ve no idea why this happened...
By the way, one more thing: why do you rename the files on the server?
There is no point then to attach .php files...
The files are renamed to prevent the same files from getting uploaded over each other. For example, an index.php file might already be there. However we are going to work on a folder structure to prevent this in the future and so that file names can be left alone.
Sorry about that!
Any update on this as this issue is still occur.
It\'s impossible to open attached PHP files - they\'re converted to zip files and cannot be opened.
See image: http://i64.tinypic.com/34rgdar.png
For some reason, it\'s reading them as zip files when it names them. However, if you download the file, and rename it to a *.php file, you will be able to open it.
Nice work around for now. Thanks. :)
Nice work.