Montego Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic
Author Message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Mon May 30, 2011 11:30 pm Reply with quote

The following question was asked in a PM recently and is an excellent question, so I thought I would post it here for ALL:

Quote:
So, I'm using BeyondCompare to look at the differences between RN (current) and your new code. Do you intend that the shortlinks taps have no ending tag?

Code:
All the taps seem to be missing "?>" at the bottom.


It may be just my system, but I thought it best to ask rather than assume.


Yes, absolutely. That is actually how EVERY include/include_once/require/require_once file should be. Unfortunately, there are so many RN scripts, that is would take some time for that team to change them all, but they probably should. It keeps from having the old "headers already sent" issue occur when someone accidentally adds an empty line at the end...

Many frameworks in use today are like this. E.g., CodeIgniter and ZendFramework.
 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 4 Hours
 
Forums ©
linear-bunch