Hello community ;-)
I've got a little Problem: I'm trying to run a PHP-Script over GLPI-Software. GLPI allows to upload documents; I've added permission to upload PHP-Files and set Mime-Type to "plain/text". The uploaded document - in my case the php-file named '_test.php' - is interprated by the itnernal file of glpi named 'document.send' resulting in displaying the whole source-code [e.g. <?php echo('test#.php') ?> instead of test] AM I using the wrong Mime-Type? 'application/x-httpd-php' plet's download the file. Direct fileopening isn't allowed because of htaccess destrictions [deny from all] :/ Is there a way to get the file interprated instead of only being displayed like a txt-file?
Thank's in advance & Kind regards
Php Script Not Interprated
1 reply to this topic
Posted 01 October 2010 - 10:22 AM
Do you need to set this mime application/x-httpd-php, and you need to se the chmod permissions to this file/folder in te panel of the server or directly by the server. And verify if you PHP are installed ok.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users