New Gallery Released

I have just released a new Photo Gallery…

it’s called “Quick Gallery”
Everything you need in ONE single file.
(Includes PHP,HTML,CSS,Graphics and Lytebox Javascript)

Available from: http://quickgallery.jv2.net/

Exporting from SAGE to MYSQL in PHP

Recently, I had to create a script that exported records from a SAGE database to MySQL.
It wasn’t exactly easy finding the correct connection string… and this obviously varies between different SAGE versions… but I thought I’d post the functions I created… which extract the data… and then create the SQL statements…
You would then use mysqli […]

PHP Form Functions

These are a few functions I developed a while back to create form elements quickly.
In the case of these functions, as they stand, they are written to create a table row with two cells; one containing the label… and the other the form element.
In other words, as my example shows… you create your form tag… […]

PHP CAPTCHA

I had a couple of versions of this and finally decided to polish it off a bit more… You can easily customise it to fit your own colour scheme, add fonts, and play around with the settings…
Example files are included. However, the test page is very simple… and you should decide for yourself if you […]

PHP Paging Function

Here is a function I developed for creating paging links for resultsets.
It is highly reusable, and can be easily modified further. For example, in my own version I have incorporated global variables such as search terms etc… and depending on the view asked for it will output the correct links to page the search results, […]

Crash IE6 with Pure XHTML and CSS

Right… I know this is a bit late and all… as IE7 is slowly taking over from IE6… but it is still heavily used… and when designing, I still definitely try to test all my stuff in IE6 also.
Anyway, as I was recently doing a new menu for something, I discovered that when ever I […]

Script to create virtual host in apache2

I wanted to learn how to write bash scripts… and automate the way I create Virtual Hosts in Apache2.
I’m hoping other people will find this script useful too…
This script creates the config file for the virtual host in “sites-available”, creates the symbolic link in “sites-enabled” and adds the hostname to “/etc/hosts”.
It will also restart apache […]

Excellent Hosting

I have just switched hosts (to Servage), and I can really recommend these guys. The Value for money is incredible as the features you get are par none. Additionally, from the moment I ordered, I had my domain working and these pages online in 1.5 hours.
The control panel they have developed themselves is great and […]

ALSA sound drivers Ubuntu / Acer 5100

so, yet again, after a fresh ubuntu install, I had forgotten that the sound card
on the acer 5100 series does not work correctly. More specifically (at least for me) it only played music from the right speaker.
So, after looking for info for ages, and trying to download the correct drivers (alsa project website down) I […]

Wireless on Ubuntu / Acer 5100

So I did a fresh reinstall of ubuntu edgy on my Acer 5101… and completely forgot about the wireless not working out of the box. After scratching my head for a while and googling quite a bit, I found what I needed. I am merely posting it here for future reference for myself… :)
To get […]