Installing an rpm on Debian

My days of supporting Debian are numbered.  That isn’t a complaint, it will actually be nice to support one platform soon.  Until then I thought I’d share a little. I needed to install oci8 to support a PHP application.  In doing this I ran into the following two problems, here are the solutions that worked […]

read more

MySQLi

MySQLi (MySQL Improved) has many advantages over the older PHP MySQL driver.  It takes advantage the newer features built into MySQL 4.1.3 and newer.  Below are some simple examples of basic MySQL functions (SELECT, INSERT, UPDATE and DELETE). SELECT $mysqli = new mysqli(‘$server’, ‘$user’, ‘$pass’, ‘$db’); if (mysqli_connect_errno()) { printf (“Connect failed: %sn”, mysqli_connect_error()); exit(); […]

read more