var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
URL validation script
I couldnt find one but i need a code snippet that will validate that a string is a URL.
Does anyone have a small code or can tell me where to get it?
If you just want to validate syntax (by checking for components), you can use parse_url. For more robust URL functions, try Net_URL from PEAR.
In order to understand recursion, one must first understand recursion.
If you feel like it, you can read my blog
Signal > Noise