Author Archives: Craig Lotter

About Craig Lotter

Craig Lotter is an established web developer and application programmer, with strong creative urges (which keep bursting out at the most inopportune moments) and a seemingly insatiable need to love all things animated. Living in the beautiful coastal town of Gordon's Bay in South Africa, he games, develops, takes in animated fare, trains under the Funakoshi karate style and for the most part, simply enjoys life with his amazing wife and daughter. Oh, and he draws ever now and then too.

PHP: How to Get the Associated Key from an Array given a Value

If you have a value and you suspect that it might be contained within your array, can you somehow find the key linked to that value if it does exist? The answer is yes, thanks to the handy array_search function … Continue reading

Posted in PHP | Tagged , , , , , , | Leave a comment

How to Install a Standalone Android App on a Samsung Smartphone

Sometimes you need to install an Android App that isn’t available in the Android Marketplace onto you phone, maybe because the App doesn’t meet the Marketplace’s rules, or perhaps because you are in the process of developing a new App … Continue reading

Posted in Android | Tagged , , , , , , , , , , | Leave a comment

Javascript: How to Force a Page Reload and Jump to a Specified Anchor Name in the Process

Anchor names are a great little browser extra that allows you to quickly jump to different sections on a web page courtesy of a handy little # declaration in the page URL. However, these do sometimes get in the way, … Continue reading

Posted in Javascript | Tagged , , , , , | Leave a comment

PHP: A Quick Way to Break up a URL into usable Pieces

PHP has a built in function which allows for the quick breaking up of a well formed URL into usable pieces, namely parse_url. This function parses a URL and returns an associative array containing any of the various components of … Continue reading

Posted in PHP | Tagged , , , , | 4 Comments

How to Take a Screenshot on a Samsung Galaxy Ace GT-S5830

samsung-galaxy-ace-screen-capture-4

Usually on an Android smartphone you need to root and install a special app in order to be able to take a screenshot or screen capture if you will. Not so on a Samsung Galaxy Ace GT-S5830 running Android 2.2.1 … Continue reading

Posted in Android | Tagged , , , , , , , , | Leave a comment