Okay
  Public Ticket #596564
PHP files attachments
Closed

Comments

  •  4
    Marco started the conversation

    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.

  • [deleted] replied

    That\'s very odd, it shouldn\'t be zipping them. I attached one to this comment to test it out.

  • [deleted] replied

    And here\'s three PHP files to make sure it\'s not zipping them up.

  •  4
    Marco replied

    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...

  • [deleted] replied

    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!

  •  1
    ghostpool replied

    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

  • [deleted] replied

    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.

  •  1
    ghostpool replied

    Nice work around for now. Thanks. :)

  • [deleted] replied

    Nice work.