Why we don't choose MSSQL!

Everybody always raves how great Microsoft SQL Server is, and how much data it can hold, and how much bigger it’s “package” is than your own. But the truth is that I hate it with a passion! I use RDBMS‘ on a daily basis and never used to hate MSSQL Read more…

By Andrew Odendaal, ago

How Do You Fire A Client?

How do you fire a client? Let’s face it, some clients can be a real nightmare. There are a whole bunch of tell-tail signs that a client is going to be a major problem for you shortly after or sometimes during your first interaction with them. This can be a Read more…

By Andrew Odendaal, ago

How many days in February?

It is quite handy to have a function that can tell you how many days there are in February due to the leap year shift of either 28 or 29 days. Below is a function created in Javascript to return the exact amount of days according to the year given: Read more…

By Andrew Odendaal, ago

Weird Pagination on a Google Page

Not sure how long this one will last, but for now: Go to: http://www.google.co.za/search?q=MFI/06/ASA-778658&hl=en&start=0&sa=N If you scroll to the bottom, there are 4 pages (pagination), press Next, now there are only 2, WEIRD HUH!

By Andrew Odendaal, ago

Actionscript 2 & PHP Data Transfer

In the below example we will use Actionscript 2 to call a remote PHP file that will return data to it. It is a simple way of transferring data between the server and client. Actionscript 2 Code: [code lang=”actionscript”] callRemoteFile = function(ourVariable:String) { var result_lv:LoadVars = new LoadVars(); result_lv.onLoad = Read more…

By Andrew Odendaal, ago

Unique Random Numbers in PHP

If you would like to show random numbers using PHP you can do this: [code lang=”php”] 401883028759967181771413209076467043638097364937745245847631561099466255469989152978651733557125527151007275517428328611138954441196462796860231689849235829486834221391826293505367349322487385[/code]

By Andrew Odendaal, ago

HTML mail() Sending as Plain Text

[code lang=”php”] $to = “[email protected]”; $subject = “SUBJECT”; $message = “MESSAGE“; $headers = ‘MIME-Version: 1.0’ . “\r\n”; $headers .= ‘Content-type: text/html; charset=iso-8859-1’ . “\r\n”; $headers .= ‘From: Mailer ‘ . “\r\n”; mail($to, $subject, $message, $headers); [/code] The above code does not always send emails in HTML as it should, it Read more…

By Andrew Odendaal, ago

Digsby Stuck in Local Mode

If your Digsby Client Application gets stuck in Local Mode and won’t connect no matter what… ..you may want to try fixing it by doing the following: step1: Uninstall and then reinstall. Did it work? If not then go onto step2. step2: Go to “C:\Users\[YOUR_USER_NAME]\AppData\Local\” and delete the Digsby folder. Read more…

By Andrew Odendaal, ago