dmomotiuk Posted May 13, 2008 Share Posted May 13, 2008 Hi guys. I have a site all made in PHP 5. Some of muy collegues, in their Internet Explorer 6, instead of viewing my site correctly, get the source code of the site in some frames. I will be very thankful if someone knows what can be happening... Quote Link to comment Share on other sites More sharing options...
GingerRobot Posted May 13, 2008 Share Posted May 13, 2008 They get the PHP source code? I expect you're using the short style opening tags (<?) but have them disabled in your php.ini. Either enable the short_open_tags option, or switch to full opening tags (<?php). The latter is better in my opinion, since it's more portable. Alternatively, the server may have previously been set up to parse other file extensions(other than .php that is) as PHP files. If this is no longer so, then you would again see the source code. Quote Link to comment Share on other sites More sharing options...
revraz Posted May 13, 2008 Share Posted May 13, 2008 You are either using short tags in your PHP files <? or you are using an extension other than .php for the filename or you dont have PHP installed on the server Quote Link to comment 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.