Archive for August, 2015

What is phpinfo()?

Posted on: August 14th, 2015 by BuildMyWeb 1 Comment

If you are going to be programming PHP logic into your websites and web applications, you will eventually find a use for phpinfo(). It is a function that outputs a large amount of data on the state of php as it is installed on your server. PHP extensions, the PHP version, paths, server configuration options, [Read More…]

How to Detect a Browser Refresh with PHP

Posted on: August 13th, 2015 by BuildMyWeb No Comments

There has been many a time where I’ve needed to detect a user refreshing their browser within a web application. Here is a really simple solution that has worked for me in Firefox, Chrome, Safari, but of course not in good ol’ reliable (cough, cough) Internet Explorer. The bane of all developers since it’s inception. [Read More…]

How To Upload and Resize an Image with PHP

Posted on: August 12th, 2015 by BuildMyWeb No Comments

Upload an Image to Your Server with PHP You can relatively easily upload images to your web host using an HTML form and a PHP script handler. The key ingredient is to include the following within your form element: enctype=”multipart/form-data”. And, of course, you will need the proper input that allows users to select and [Read More…]

The Disadvantages of Content Management Systems ( CMS )

Posted on: August 11th, 2015 by BuildMyWeb No Comments

A good Content Management System, or CMS, can be a powerful tool. They are all the rage in the current web atmosphere because their strengths are obvious and significant. What are not so obvious, but equally or even more powerful, are their disadvantages. CMS applications such as WordPress, Joomla, Drupal, and their ilk are no-brainers [Read More…]