Banner

{ Custom php.ini Cautions }

< >
< Posted in News & Updates On: 12/07/2011 By: Amber >

< Updated: 12/07/2011 >

I was working on a client site today that required me to create a custom php.ini file so that I was able to enable some PHP functions that were disabled by default by their hosting provider.  While I was doing this, it got me thinking that I should give you all a heads up about about why you should be cautious when using a custom php.ini file.

In my article “So You Want A Larger Upload Limit Eh…” I walk you through the process of creating a custom php.ini file so that you could modify the upload limit for your server; essentially overriding the default values set by your hosting provider.  Your custom php.ini file is a copy, originally based on the php.ini file installed as part of your server’s setup for its default PHP version, and as such, you could run into serious problems if you decide to use another PHP version.

The reason for this being that your custom php.ini copy may contain configuration paths, extensions and other settings that are not suitable for a PHP version that gets chosen down the line.  It’s even possible it could be missing settings required by the new PHP version entirely.  That would not be good!

An example of problems that can arise between PHP version changes is as follows:

PHP 5.2: extension_dir=”/usr/local/lib/php/extensions/no-debug-non-zts-20060613″
PHP 5.3: extension_dir=”/opt/php53/lib/php/extensions/no-debug-non-zts-20090626″

Notice in the above example that the server path that is used for extension modules is different between PHP 5.2 and PHP 5.3.

If you are working with a custom php.ini copy to modify your hosts default PHP configurations, make a note of any modifications that you have made and then delete the custom php.ini copy you created along with it’s corresponding suPHP_ConfigPath pointer (if applicable, not all servers require this portion), located in your primary .htaccess file prior to implementing a PHP version change!

{ Browser Window Size… that’s right.. BROWSER… not Screen Resolution! }

< >
< Posted in Web Design & Development On: 09/23/2011 By: Amber >

< Updated: 09/23/2011 >

1140 Grids (34)

While working on the new fancy shmancy designFox.co layout (I know, I know, it’s been a work in progress for awhile. What can I say, I’m a bit of a perfectionist  >.>  <.< ) I decided to go back and review Browser Window Sizes and Screen Resolutions.

If you’re sitting there thinking “Why the heck did you do that, you know that 960 is the way to go!”  you’re not alone… I did to.  Then I thought, balls I’m going to just review it anyway.

Read more on “Browser Window Size… that’s right.. BROWSER… not Screen Resolution!” »

{ Add Custom File Extensions To WordPress }

< >
< Posted in Tips & Tricks On: 08/05/2011 By: Amber >

< Updated: 01/03/2012 >

Have you ever tried to upload a file to WordPress only to be greeted with the lovely message

“Somefile has failed to upload due to an error.  Sorry, this file type is not permitted for security reasons.”

If you’re like me, you probably saw that and heaved an exasperated sigh.  @_@  LOL

The quickest way to work around this is to add those needed file extensions to your current theme’s function.php.  Read more on “Add Custom File Extensions To WordPress” »

{ So You Want A Larger Upload Limit Eh… }

< >
< Posted in Web Design & Development On: 07/21/2011 By: Amber >

< Updated: 09/29/2011 >

As you sit and read this you might be wondering, Why would I want to do this? What is this for?

Have you ever tried to upload a file directly from your site but couldn’t because the file was to large?  Does it leaves you grumbling and shaking your fists.  Don’t worry, you’re not alone.

Mercifully there is a 3 step process to get around this, shown below, and the best part is we’re going to walk through it!
Read more on “So You Want A Larger Upload Limit Eh…” »

{ Add Captcha Verification To Your Forms }

< >
< Posted in Web Design & Development On: 07/04/2011 By: Amber >

< Updated: 08/02/2011 >

In this article we will be using PHP and reCAPTCHA to add a validation box to your forms.

To download the full example Click Here

*As a quick note this article is separated into 3 pages, to get the full extent of the article be sure to read through them all following the page links at the bottom.

Read more on “Add Captcha Verification To Your Forms” »

{ Different, Dynamic WordPress Sidebars Per Page! }

< , >
< Posted in Web Design & Development On: 03/03/2011 By: Amber >

< Updated: 09/08/2011 >

I was working on a project that required different, dynamic (widgetized) sidebars for different pages. After a few hours of research, loads of articles, and a few failed attempts later I finally succeeded.

I thought I would share this so that it saves anyone else wanting to do the same thing the time of digging through interwebz articles.

Read more on “Different, Dynamic WordPress Sidebars Per Page!” »

{ Browsers: HTML5, Legacy Browsers and The Dreaded IE Beast! }

< , >
< Posted in Web Design & Development On: 02/28/2011 By: Amber >

< Updated: 03/05/2011 >

[important]*This article is posted in conjunction with “Browsers: HTML5… “OMG YOU CAN’T USE THAT!” …Why yes sir, I really CAN!”.  They were split into two to make for easier reading.[/important]

Did you know that Firefox, Chrome, Safari and Opera all are able to use HTML5? And yes I mean today! Studies have shown that users of the above browsers are quicker to upgrade to the newest versions of those browsers so there is little worry about old versions that could kick back odd issues.

Read more on “Browsers: HTML5, Legacy Browsers and The Dreaded IE Beast!” »

{ Browsers: HTML5… “OMG YOU CAN’T USE THAT!” …Why yes sir, I really CAN! }

< , >
< Posted in Web Design & Development On: 02/28/2011 By: Amber >

< Updated: 03/05/2011 >

[important]*For the sake of this article, I’m going to assume that you have a basic understanding of HTML and CSS.[/important]

“What… HTML5 now… No, No, No, you must be wrong! You’re absolutely WRONG! You can’t use it now, it’s a draft, and it won’t be ready until 2022! REDO ALL YOUR SITES YOU HAVE USED IT IN! YOU HAVE NO RIGHT TO USE THIS IN LIVE PRODUCTION WORK YET!

Read more on “Browsers: HTML5… “OMG YOU CAN’T USE THAT!” …Why yes sir, I really CAN!” »

{ Lions and Tigers and CSS Navigations Oh My! }

< >
< Posted in Web Design & Development On: 02/28/2011 By: designFox >

< Updated: 03/05/2011 >

Often times I come across lovely websites that still use Dreamweaver’s built in behaviors to create a JavaScript styled navigation. You may have heard them called disjointed rollovers. You can recognize this if you view a websites source code where you will see blocks of JavaScript and coding elements such as onmouseover, onmouseout, onclick and onload attached to individual links.

Read more on “Lions and Tigers and CSS Navigations Oh My!” »

Stop Internet Lockdown