Vanilla default templates and styles
Category Archives: Programming
PHP ftp upload tutorial
To upload a file to ftp you need a html form where you can insert the ftp details, like the ones described above:
Localizing PHP web sites using gettext
Developing multi language web sites using PHP is actually very easy. A common approach is having an include file for every supported language which contains an array that maps string ids to localized text (for example "WelcomeText" => "Welcome to our homepage." would be included using something like <?= $strings["WelcomeText"] >). However there are several …
wp Add Facebook Open Graph Meta Tags
Add Facebook Open Graph Meta Tags Place the following code in custom_functions.php (making changes where noted):
Typetester
The Typetester is an online application for comparison of the fonts for the screen. Its primary role is to make web designer’s life easier. As the new fonts are bundled into operating systems, the list of the common fonts will be updated.
Convert Numbers to Words
Convert Numbers to Words This little script was whipped up to convert numbers to words for use in a cheque book, it has an upper limit of 999999999 but that should take care of most sane amounts of cash. Should you require a function that needs to spell out more cash than this, my rates …