Redirecting using PHP is very simple. You just need a single line of code in your php page. I’ll split it out to two lines in the example below for the sake of clarity. Create a text file, calling it redirect.php. Add the following content to it:
<?php
$URI = $_REQUEST['to'];
Header ("Location: $URI");
?>
In the above example, we use the ‘to‘ parameter to specify our target URI.
To use this in your pages your link would look like the following:
<a href="http://www.example.com/redirect.php?to=http://www.vftw.com">Visit vftw.com</a>
You’d obviously replace example.com with your own domain, or you can omit it if you are referring it from the same domain.
Make sure there are no spaces or line-breaks before the <?php. If you are modifying the HTTP header, you are not allowed to write the the stream before that line.
Base is the database package that comes with openoffice.org 2.x. It seems quite OK as a desktop database package. But, I’ve found that resources for macro editing in basic for base are quite scarce. This is quite a problem since the editor it comes with doesn’t have intellisense/autocomplete. The uno documentation is way too big to be of any real use as a reference document. So I thought I’ll just write a beginners tutorial for connecting to the base database that is currently open from a form using openoffice.org basic macro. Keep reading »

It appears that Minimo – Mozilla’s mobile browser project has been scrapped. Despite of being slimmed down, it was still quite slow on windows mobile. I guess that’s the reason for it meeting its demise.
Pity, it seemed like a better browser than the stock browser supplied on many devices like Opera mini in the Nokia n800. It’s full featured Gecko renderer with the Javascript engine allowed Ajax heavy sites such as Google Docs to work just fine on the device, which was not possible with Opera mini.