Tutorials Page 231
![Set Your Site’s Date/Time Settings On Shared Hosting Using PHP5’s date_default_timezone_set()]()
Set Your Site’s Date/Time Settings On Shared Hosting Using PHP5’s date_default_timezone_set()
One annoyance with putting my customer's site on shared hosting is not being able to control the date and time on the hosting server. Sure, I could simply host with a local company but that's not always the most cost-effective option.I use a new function...
![PHP’s Magic Constants: __LINE__ , __FILE__, __FUNCTION__, __CLASS__, and __METHOD__]()
PHP’s Magic Constants: __LINE__ , __FILE__, __FUNCTION__, __CLASS__, and __METHOD__
Setting constants in PHP is as easy as using the define function, but PHP creates a few constants in every script for you that help mostly for debugging purposes (well, that's generally the only time I use them). These constants are called "magic constants."Magic constants...
![Weekend Links – Usability Nightmares, DOM Scripting, Lint, jEdit & PHP, World’s Largest Websites]()
Weekend Links – Usability Nightmares, DOM Scripting, Lint, jEdit & PHP, World’s Largest Websites
I link you, I link you a lot...10 Usability Nightmares You Should Be Aware OfSmashing magazine put together a great list of usability-killers frequently seen on websites. Don't make these mistakes!http://www.smashingmagazine.com/2007/09/27/10-usability-nightmares-you-should-be-aware-of/Accelerated DOM ScriptingJonathan Snook has written another book, this time about DOM...
![Advanced Branding – Give Your Pages A Custom Extension Using .htaccess SetHandler]()
Advanced Branding – Give Your Pages A Custom Extension Using .htaccess SetHandler
A sign of a good website is one that does the "little things" to increase the usability or value to the user. There are other little things you can do to enhance your website, including giving your pages a custom extension.The Code What the following code...
![Hide Your .htaccess Settings Using … .htaccess]()
Hide Your .htaccess Settings Using … .htaccess
Your .htaccess file can hold a good amount of information about the structure of your website, some of which should not be exposed to users. These settings include mod_rewrite settings, php_flag/php_value settings, and SetHandler directives.Luckily, you can use your .htaccess file to hide your .htaccess...
![Custom Error Page Tips – Designate The Pages You Hope No One Sees]()
Custom Error Page Tips – Designate The Pages You Hope No One Sees
Creating custom error pages is extremely ironic in that you put great effort into pages you hope no one sees. Custom error pages are worth the effort as they:keep a person at your site -- without the custom error page, the user sees an ugly...
![Upcoming PHP6 Additions & Changes]()
Upcoming PHP6 Additions & Changes
Seeing technologies you love move forward is an exciting feeling. Another version brings hope of better integrated tools, increased security, and faster ways to complete core tasks, thus making your web application quicker. PHP6's improvements and and updates are sure to make PHP6 the...
![Quick & Easy CSS Compression Using PHP]()
Quick & Easy CSS Compression Using PHP
Loading time of a website is as important as its functionality. You can have a great website but who wants to wait for it to load? CSS compression can help your website load faster and easily maintain its functionality. I've created an easy-to-use...
![Microsoft’s Internet Atrocities]()
Microsoft’s Internet Atrocities
For better or worse, Microsoft has been a huge player in the way the internet has evolved. You would expect that considering Microsoft has had a virtual lock on the PC OS market as well as an overwhelming percentage of the browser market share.
![Weekend Links – Accordion 2.0, curl.js, How To Be Happy At Work, Deadlines Kill Inspiration, Facial Hair, CSS3 Failure]()
Weekend Links – Accordion 2.0, curl.js, How To Be Happy At Work, Deadlines Kill Inspiration, Facial Hair, CSS3 Failure
You live, you link....Accordion 2.0Inspired by MooTools' "bloated accordion," Stickman Labs released version 2 of the PrototypeJS Accordion plugin. This accordion does both vertical and horizontal accordions.http://www.stickmanlabs.com/accordion/curl.jscurl.js is a JavaScript "allows you to add an page curl effect (inc. backside mask)...






