PHP CSS Preprocessor
21
A quick and simple function to dump a variable (array, object, string, int, etc) out into -formatted output for a web browser.
If the variable is an array or an object, you can have it returned into the another variable for later processing (i.e., through templates or e-mail). Due to lack of free time, if the variable is not an array or an object, it will ignore the $return value and print directly to output.
Future revisions will add the above mentioned functionality.
If the variable is an array or an object, you can have it returned into the another variable for later processing (i.e., through templates or e-mail). Due to lack of free time, if the variable is not an array or an object, it will ignore the $return value and print directly to output.
Future revisions will add the above mentioned functionality.
12
This function is useful in helping to deter spam bots by obfuscating things such as e-mail addresses and URLs that are displayed on a web page. While it's not 100% fool proof, it does offer some protection.
Example:
$email = html_entitize('foo@baz.org');
/*
Outputs foo@baz.com
*/
Example:
$email = html_entitize('foo@baz.org');
/*
Outputs foo@baz.com
*/
15
A small recursive php function to determine the size of a directory by adding all it's contents together and returning them as an integer.
22
Get computed Width of an HTML Element
15
Get computed Height of an HTML Element
15
Not really a hack, but rather a workaround for layout problems with IE.
Conditional
Conditional
13
Using styles we can add scrollbars for large table where the space is a constraint
31
a simple css way to add shadow to tables and Divs
16
A small function to help you debug your PHP scripts (with the debug modell, output as much as possible to see where the script fails).









