Category: PHP

PHP Script that inserts into Mysql Easy

Simple enough. You need to have a php script that inserts into your mysql database. Example: Here’s the Html for the form Firstname: Lastname: Age: Here is your insert script. I would name it “insert.php”.

Read more

Increase PHP’s File Upload Limit Using php.ini

We all run into this on a daily basis. That’s why I had to add this one for sure.   First things first, let’s open up a terminal and edit your php.ini file. I normally gedit for my personal preference.  This is assuming you have a GUI of some sort. Such as:  Gnome, Xubuntu, Kubuntu, […]

Read more

How to Install and Setup Apache in Ubuntu

Installing Apache Getting apache onto your Ubuntu machine is easy. Using either the Synaptic Package Manager, Ubuntu Software Center, search and install the “apache2” module. Alternatively, you can open a terminal and type the following command: sudo apt-get install apache2 Once the installation finished, open a browser and go to the URL “http://localhost“. If you […]

Read more

How to install Maxmind’s GeoIP on Ubuntu/Linux for PHP

provides a useful database and API for server side IP Geolocation. It is useful when you don’t want your server to hang on external services each time fetching a location from an IP address is needed. This posts goes through the installation process of the database with a PHP extension on an Ubuntu platform. I’m […]

Read more