ghurty Posted November 28, 2014 Share Posted November 28, 2014 I have a php script that I am trying to run ( I dindt write it) but the index.php file loads basically all of the php file in plain text instead of running it. Any sugguestions? PHP is isntalled since other php scripts work. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/292763-php-script-is-loading-in-plain-text-instead-of-processing/ Share on other sites More sharing options...
mac_gyver Posted November 28, 2014 Share Posted November 28, 2014 is the script using full opening <?php tags or just <? Quote Link to comment https://forums.phpfreaks.com/topic/292763-php-script-is-loading-in-plain-text-instead-of-processing/#findComment-1497911 Share on other sites More sharing options...
ghurty Posted November 28, 2014 Author Share Posted November 28, 2014 just <? Quote Link to comment https://forums.phpfreaks.com/topic/292763-php-script-is-loading-in-plain-text-instead-of-processing/#findComment-1497914 Share on other sites More sharing options...
Ch0cu3r Posted November 28, 2014 Share Posted November 28, 2014 (edited) You are best of changing it to the full PHP tag <?php <? is only available if a config setting called short_open_tag is enabled in the php.ini. Edited November 28, 2014 by Ch0cu3r Quote Link to comment https://forums.phpfreaks.com/topic/292763-php-script-is-loading-in-plain-text-instead-of-processing/#findComment-1497928 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.