Archive for January, 2009
Autorenewal and Paypal subscriptions
I despise this tactic (automatic renewals without notifying the customer), so it was refreshing to learn I was not the only victim of this. From namepros.com … I got a Paypal receipt today for $99.99 from a company I didn’t recognize. My first thought was a scam or I accidentally signed up for something. However, [...]
Neat wordpress trick
Extract all the emails from the comments in a wordpress blog. I haven’t tried this yet but saw it on a webmaster forum. <? $db_host = “localhost”; $db_user = “username”; $db_password = “password”; $db_name = “database”; $connect=mysql_connect($db_host,$db_user,$db_password) or die(mysql_error()); $db=mysql_select_db($db_name, $connect) or die(mysql_error()); $result=mysql_query(“select comment_author_email from wp_comments”); while($row=@mysql_fetch_assoc($result)) { $email=$row[comment_author_email]; echo $email; } ?>
