Home » Web Design
Dan Gibas
HYGEN Web Design
A British expat web monkey living in Malaysia. Hire me!
Popular Blog Posts
- Global Express Services Ltd Online Scam
326 comments - Common House Gecko - Hemidactylus Frenatus Photos
76 comments - Road Trip From Kuala Lumpur To Betong, Yala, Pattani And Hat Yai - Thailand
44 comments - New Fake Courier Service Scam Site: gnetcex.com GNet Express
36 comments - Convert .docx to .doc
31 comments
Total Comments: 1,098
HYGEN Blog Posts In The ‘Web Design’ Category
Drupal webform_viewreference Module Tweek
Sunday, August 28th, 2011
The Drupal module webform view reference according to the modules page adds a webform component where you could use a View as a datasource for your normal webform select component. Instead of hardcoding all the selectable values in the component values field you just select a reference to a View similar to the CCK nodereference. The selectlist/radiobuttons/checkbox then automatically gets filled with all the nodes from the View.
The Irony Of Anti-Spam Spam!
Tuesday, June 21st, 2011
Nothing can stop WordPress Spam as well as a product that spams WordPress blogs for a living! Ooh the Irony! ![]()
Read the rest of this entry »
PHP: Alternative Function To gzdecode($string)
Saturday, April 16th, 2011
If you are deploying code to a Linux box that doesn’t have ZLib installed / configured then here is an alternative way of decoding GZipped data.
Drupal Latest Members Module Updated
Tuesday, February 8th, 2011
I’ve just closed a few open issues and added bug fixes for Drupal’s latest members module. Now version 6 is stable I’m going to start planning a build for Drupal 7! Latest Members provides a block that shows all of the new members photos (aka user pictures). The block settings can be changed so the admin can choose how many user pictures get displayed.
Free Bet Returns Calculator
Friday, January 28th, 2011
This free bet returns calculator helps you calculate exactly what returns you can expect based on fractional odds and the bet stake placed… It’s written in simple JavaScript
Feel free to use the code freely and share it however you must add a link to this blog on the page!
Generate a drop down select box for year selection in Yii (PHP)
Wednesday, November 3rd, 2010
You can use this PHP code with or without the Yii framework to generate a select box of years. It’s useful for date of birth etc and especially brilliant for sites with minimum age requirements. The code only outputs valid years of birth for over 18′s only.
mysqldump: command to backup a database on another remote server
Thursday, August 12th, 2010
The mysqldump program is often used to getting a data dump of a local database for backup reasons or just for moving a database from one server to another. To make this even easier, mysqldump can accept a remote host as an arguement. This means that if you are logged into server A you can get a backup of server B immediatly without having to login to server B and then transfer the file manually vis FTP or SCP etc. Just use this command:
Setcookie() Path Problems / Gotchas In PHP
Thursday, April 22nd, 2010
From php.net:“The path on the server in which the cookie will be available on. If set to ‘/’, the cookie will be available within the entire domain. If set to ‘/foo/’, the cookie will only be available within the /foo/ directory and all sub-directories such as /foo/bar/ of domain. The default value is the current directory that the cookie is being set in.”
Read the rest of this entry »
Use JQuery To Automatically Set IFrame Height
Wednesday, April 21st, 2010
It’s a fairly common problem when developing web applications and using IFrames (inline frames) – the height of an IFrame can’t easily be determined and it’s essentially dynamic as it depends on content and CSS inside the framed page.
Drupal: HTTP request status fails / Drupal Status Page Reports Errors
Tuesday, February 23rd, 2010
HTTP request status Fails
Your system or network configuration does not allow Drupal to access web pages, resulting in reduced functionality. This could be due to your webserver configuration or PHP settings, and should be resolved in order to download information about available updates, fetch aggregator feeds, sign in via OpenID, or use other network-dependent services.
- RSS: Entries (RSS), Comments (RSS), Atom








