hunt.tw Posted March 12, 2011 Share Posted March 12, 2011 Hi all,I just download PS v1.3.7 and I found there are total 363 out of 904 files of "*.php" are missing "?>" on their end. I just wonder are these missing on purpose? Or do these missed "php closing" would cause any usage concern?Hunt Chang Link to comment Share on other sites More sharing options...
Burhan BVK Posted March 12, 2011 Share Posted March 12, 2011 It is better not to have the closing php tags. This ensures that if you accidentally add some text at the end or a virus does that, it won't be displayed. If you add a closing tag and you get a virus, any text it appends to the php files will be displayed. Link to comment Share on other sites More sharing options...
hunt.tw Posted March 13, 2011 Author Share Posted March 13, 2011 Oh, I see. Thanks for your new lesson.Hunt Chang Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now