seo scam: guarantee on first page of google

by prettyscripts on 2010-02-24 16:37:58 • 5 comments »

misc

this site has received quite a few contacts to 'guaranteed first page google ranking', 'to increase your online leads'... the only contact left was email address with free domain (eg gmail.com). no website. no company. no telephone number. what reputab… more »

Tags: scam, seo

php: date difference in days

by prettyscripts on 2010-02-19 11:19:00 • 2 comments »

php

there are a few ways to calculate how many days between 2 given dates. the following examples calculates how many days to x'mas from today (19/2/10).method 1 using gregoriantojd($month, $day, $year) function to find out the julian day count. withou… more »

Tags: date, day, php

b2evo: moving post to another blog

by prettyscripts on 2010-02-17 14:26:21 • 1 comment »

b2evolution

this refers to moving a post or page from one blog to another, within the same b2evolution installation. i can't seem to find any interface in the back office to do this. the database needs to be updated directly, but it's not as easy as updating the b… more »

Tags: b2evo, move, mysql

css and ie: clear

by prettyscripts on 2010-02-16 11:12:26 • Leave a comment »

css

i always have a clear class in my css to clear any floating elements:.clear { clear: both; } and commonly used in html code such as follows:<div id="floating_1">something</div><div class="clear"></div><div id="float… more »

Tags: clear, css, ie

php: undefined offset and undefined index

by prettyscripts on 2010-02-11 10:36:45 • Leave a comment »

php

sometimes the following notice is displayed when accessing array:PHP Notice: Undefined offset [number] in /path/to/your/file.php on line [number] or this:PHP Notice: Undefined index [number] in /path/to/your/file.php on line [number] this means t… more »

Tags: notice, php, undefined