RSS Forums RSS
Please support our PHP advertiser: Lunarpages PHP Web Hosting

To define() or not to define() that is the question..

Join Date: May 2008
Location: Swindon, UK
Posts: 192
Reputation: xan is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 32
xan's Avatar
xan xan is offline Offline
Junior Poster

Re: To define() or not to define() that is the question..

  #2  
May 8th, 2008
If you make a single page (for example index.php) and include the language file depending on which language is wanted, this is a perfectly acceptable use of the define() function. as it will standardize the scripts.
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 11:20 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC