DEANO.ME

PHP

 

We have two blogs that we actively use for developer related content, this blog “deano.me” which is my personal blog and WebDesires Blog. The problem is that sometimes posts are relevant for both websites and anyone who knows about Google and their duplicate content policy knows how serious it can be to do this incorrectly. […]

 

I consider myself a seasoned PHP Web Developer, with over 10 years working in the field and with all the care and attention I’ve given Web Development over those 10 years it frustrated me recently to come across a problem that a client was having which baffled me, seriously baffled me! My client has a […]

 

Recently I was trying to fix a website that needed to run PHP script from within HTML files, the site originally used a htaccess rule to set up html files so they were executed just like php files but this had stopped working. The problem is, there are many different methods for defining file extensions […]

 

As a developer you will constantly need to increase the memory that is allowed for PHP, you will usually find that this is essential when reading and/or writing large files or when working with large data sets. Luckily there is a very easy way yo increase the amount of memory allowed to PHP so that […]

 

I’ve seen allot of developers requesting the ability to resize a iFrame so that the content in the iFrame fits in the frame without any scroll bars, but also to adjust the height dynamically so that is always fits the height of the internal content, which is useful for iFrames who’s content changes often or […]

 

In August 2014 I started an article on improving the speed and performance of your OpenCart store by improving your OpenCart database indexing, shockingly it appears OpenCart did not set required indexes that are vital for larger OpenCart stores. MySQL uses indexes to speed up queries, every join or search using an index is cached […]

 

Sometimes you want to display a page of your site in a convenient popup using AJAX, the problem with this is in the popup your obviously not going to want your website header, footer, menu bar and etc and would need to return just the content for the popup. Well with PHP this is easy, […]

 

WooCommerce is a great plugin for WordPress, enabling you to turn a standard WordPress install into a fully functional eCommerce shop. However I found there is no options to modify the default sorting options provided in WooCommerce categories, however after some digging I found that you can easily remove options from WooCommerce with some simple […]

 

PHP Sessions are great, they allow us to easily store information about a client without that client having ANY access to that data. In fact all they have is a “key” which links up to a session file stored on the server which PHP accesses behind the scenes. This makes sessions very secure for us, […]

 

The other day a colleague was having a very puzzling problem with PHP POST Variables, he was posting an array of values from a large form but some of the values were missing from the $_POST variable. After looking through his code a couple of times we came to the conclusion that the code was […]

+1
Tweet
Share
Share
Stumble32
Pin
Email
Shares 32