Geeks’s Corner

Where the Geek Meets Real Life {!!BUGGERED Version!!} - » Scripts




Archive for the 'Scripts' Category



About Aductions

Monday 3 March 2008 @ 9:24 am

Aductions Inc, a San Jose Company is the newest member to the world of internet marketing. Based on a similar system of OpenAds and Text Link Ads, Aductions is said to be the first self-serve marketing system for advertisers.

Their base system is plain simple:

1) Publishers set their inventory
2) Advertisers buys the inventory off the publisher
3) Publisher pay a small cut and gets the funds immediately or upon completion.

So how does it really look or work?

Publisher Signs up. Be it a blogger or webmaster.
-Publisher assigns what to publicize: A Leaderboard, A wide Skyscraper or a Large Square.

-Publisher selects type of payment / advertising model:
CPM (cost per 1000 impressions), CPC (Cost Per Click), CPV (Cost per hundred unique visits) or CPD (cost per day)

-Publisher can do a barter trade with another publisher on the trade marketplace, like eBay.

-Publisher waits for someone to buy his inventory. If there is none, he can put a placeholder to show alternate ads instead.

Now for the Advertiser end

1) Advertiser Signs Up
2) Advertiser uploads funds.
3) Advertiser specifies his requirements
4) Advertiser filters through the publishers for his requirements
5) Advertiser places advertisement.

In actual fact, in step 3, the advertiser can specify the filters, like dermo graphics, ethnic targeting, keywords or categories.They can also see how many impressions it will come on with the CTR ratios and projections.There is even an area to choose by performance of Impressions, Click through Rates.

I analyzed the platform already and the platform in itself can filter out non-performing sites or blogs so that you get your advertising dollar’s worth. I have tried out their system out and for a start up, it is quite a simple system which is what it is all about. It makes things easier for the small timer to get paid as it’s an immediate payout system. It offers payout by PayPal and now they are setting up an overseas office in Malaysia to coax the Asian Advertisers and tease the top notch bloggers and publishers from Singapore and Malaysia.

In effect, advertising rates can start as low as 1 cent for each click to as much as $7 for a day’s worth of advertising banner on a top notch blog with over million viewers a day! You can’t get any better exposure than that.

The company is not setup or funded by any Venture Capitalist. Initiated by a bunch of British lads who had this self serve process. It took them almost 12 months to cook up a correct recipe for the platform with great dedication and a shoestring budget. Now, as we speak, there have been an influx of advertisers coming into their platform ranging from top brand names to even small enterprises.

At least, there is an underdog we can bet on.




Downgrade from Vista to XP…why?@!

Thursday 21 February 2008 @ 5:54 pm

Microsoft Corporation’s new operating system, Windows Longhorn aka Vista is far from just a Vista of goodies, as many have found out. Apparently, they have been in cahoots with Hewlett-Packard (HP) to package only VISTA DRIVERS for the new HP range of Notebooks and Tablet PCs. Forget XP Embedded or Home as most of the drivers don’t work for these motherboards. Poor users, as that means only one thing, poor performance as the need for more memory and faster hard drives will make the system more sluggish.

Basic reasons of why choose XP over Vista?
1) Lower need of Memory
2) Quicker loading
3) Easy driver compatibilities
4) Software compatibilities (Accountants please note)
5) Lower cost

XP requires just basic 32MB RAM and 250MB Hard disk space compared to Vista needing 1GB Ram and 10GB Hard disk space.

Even with XP Home at Vista’s requirements will do excellent in performance as the OS in itself loads up about 200MB of memory in it’s static kernels (kernel32.dll , Explorer, Firefox, Yahoo Messenger, Skype) loaded up.
That is far less than Vista’s 800MB memory (RAM) loaded up in it’s kernel with the need to have a swap file. Heck even at 1 Gigabyte worth of RAM, you don’t need to load any swap file or PageFile.SYS as you won’t need to unless you start doing animations or photo editing (Photoshop,Adobe Illustrator etc) or Video Extraction which is sluggish because it takes ALOT OF PROCESSING POWER (CPU) as to the RAM. Also, the hard disk needs to be fast to read/write/rewrite data to the banks.

Windows XP loads up in less than 45 seconds compared to 3 minutes of Vista Basic as it needs to check if you installed any pirated junk and pornography or pedophile related materials so they can report you.

Windows XP too can be tuned up to run at maximum capacity of 20 simultaneous TCP/IP Connections per stack compared to the rigid 5 connections per application. So much for Multi tasking!

Drivers are not so compatible with Longhorn / Vista as most are written for Win32 aka Windows 2000/2003/ME/XP and they are backward compatible as to Vista which is static for them. Mainly it’s because Vista is written to the core so that it works with Apple MacBook. Yes.. Vista runs Mac! XP Drivers don’t work with Vista and at this edition, ALi, LinkSYS, Asus and some manufacturers older boards and API don’t cal for Vista and HP is evil enough to write only drivers for Vista and not XP as they are too lazy! Dell is as evil too as their proprietary hardware won’t work on Vista as they try to clear off their old stock of Motherboards. This information is up to date for their Desktops and Mini Servers too. A collegue from DELL MALAYSIA which is round the corner confirms this as the compatibility issues makes Vista a problem child.

Software wise, I was told that QUICKBOOKS and many others are not compatible YET on Vista due to the way the network issues are set up. Security tokens don’t work with even SUN Servers. So much for inter-operatability.

Costs? XP Home Stickers can be bought as low as USD25 as they are over the 6mths tie in with the OEM Manufacturer. Vista..is far more. I can’t disclose due to the licensing rules.

For me, if all fails, I just stick to CentOS or Debian Linux. It will sure work at base configs! And it’s free@! Anyway, Microsoft based their kernels on Linux..so what works on XP or Vista MUST work with Linux. Right? Even Apple MacBook Air works on Linux.

Sorry! This is me.. The Geek!
Any updates will be flashed at http://www.azrin.net/?s=helium
Do look out for the privacy issues too@!




Wordpress Update…. Don’t forget to do this!

Thursday 10 January 2008 @ 6:03 pm

If you upgraded from 2.1 to 2.3.2, please don’t forget this database update:

You will need to add a new table called POST2CAT into your database.

Depending on your setup, it maybe defaulted to WP_ prefix
so make sure you add this to your SQL

-- phpMyAdmin SQL Dump
-- version 2.8.0.1
-- http://www.phpmyadmin.net
--
-- Host: custsql-pow07
-- Generation Time: Jan 10, 2008 at 03:57 PM
-- Server version: 5.0.45
-- PHP Version: 4.4.4
--
-- Database: `azrin_net1`
--

-- --------------------------------------------------------

--
-- Table structure for table `wp_IMM-Glossary`
--

CREATE TABLE IF NOT EXISTS `wp_IMM-Glossary` (
`ID` int(10) unsigned NOT NULL auto_increment,
`Title` varchar(255) NOT NULL default '',
`Definition` text NOT NULL,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;

-- --------------------------------------------------------

--
-- Table structure for table `wp_categories`
--

CREATE TABLE IF NOT EXISTS `wp_categories` (
`cat_ID` bigint(20) NOT NULL auto_increment,
`cat_name` varchar(55) NOT NULL default '',
`category_nicename` varchar(200) NOT NULL default '',
`category_description` longtext NOT NULL,
`category_parent` bigint(20) NOT NULL default '0',
`category_count` bigint(20) NOT NULL default '0',
`link_count` bigint(20) NOT NULL default '0',
`posts_private` tinyint(1) NOT NULL default '0',
`links_private` tinyint(1) NOT NULL default '0',
PRIMARY KEY (`cat_ID`),
KEY `category_nicename` (`category_nicename`)
) ENGINE=MyISAM AUTO_INCREMENT=28 DEFAULT CHARSET=latin1 AUTO_INCREMENT=28 ;

-- --------------------------------------------------------

--
-- Table structure for table `wp_comments`
--

CREATE TABLE IF NOT EXISTS `wp_comments` (
`comment_ID` bigint(20) unsigned NOT NULL auto_increment,
`comment_post_ID` int(11) NOT NULL default '0',
`comment_author` tinytext NOT NULL,
`comment_author_email` varchar(100) NOT NULL default '',
`comment_author_url` varchar(200) NOT NULL default '',
`comment_author_IP` varchar(100) NOT NULL default '',
`comment_date` datetime NOT NULL default '0000-00-00 00:00:00',
`comment_date_gmt` datetime NOT NULL default '0000-00-00 00:00:00',
`comment_content` text NOT NULL,
`comment_karma` int(11) NOT NULL default '0',
`comment_approved` enum('0','1','spam') NOT NULL default '1',
`comment_agent` varchar(255) NOT NULL default '',
`comment_type` varchar(20) NOT NULL default '',
`comment_parent` bigint(20) NOT NULL default '0',
`user_id` bigint(20) NOT NULL default '0',
PRIMARY KEY (`comment_ID`),
KEY `comment_approved` (`comment_approved`),
KEY `comment_post_ID` (`comment_post_ID`)
) ENGINE=MyISAM AUTO_INCREMENT=4187 DEFAULT CHARSET=latin1 AUTO_INCREMENT=4187 ;

-- --------------------------------------------------------

--
-- Table structure for table `wp_link2cat`
--

CREATE TABLE IF NOT EXISTS `wp_link2cat` (
`rel_id` bigint(20) NOT NULL auto_increment,
`link_id` bigint(20) NOT NULL default '0',
`category_id` bigint(20) NOT NULL default '0',
PRIMARY KEY (`rel_id`),
KEY `link_id` (`link_id`,`category_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;

-- --------------------------------------------------------

--
-- Table structure for table `wp_links`
--

CREATE TABLE IF NOT EXISTS `wp_links` (
`link_id` bigint(20) NOT NULL auto_increment,
`link_url` varchar(255) NOT NULL default '',
`link_name` varchar(255) NOT NULL default '',
`link_image` varchar(255) NOT NULL default '',
`link_target` varchar(25) NOT NULL default '',
`link_category` bigint(20) NOT NULL default '0',
`link_description` varchar(255) NOT NULL default '',
`link_visible` enum('Y','N') NOT NULL default 'Y',
`link_owner` int(11) NOT NULL default '1',
`link_rating` int(11) NOT NULL default '0',
`link_updated` datetime NOT NULL default '0000-00-00 00:00:00',
`link_rel` varchar(255) NOT NULL default '',
`link_notes` mediumtext NOT NULL,
`link_rss` varchar(255) NOT NULL default '',
PRIMARY KEY (`link_id`),
KEY `link_category` (`link_category`),
KEY `link_visible` (`link_visible`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 AUTO_INCREMENT=10 ;

-- --------------------------------------------------------

--
-- Table structure for table `wp_options`
--

CREATE TABLE IF NOT EXISTS `wp_options` (
`option_id` bigint(20) NOT NULL auto_increment,
`blog_id` int(11) NOT NULL default '0',
`option_name` varchar(64) NOT NULL default '',
`option_value` longtext NOT NULL,
`autoload` enum('yes','no') NOT NULL default 'yes',
PRIMARY KEY (`option_id`,`blog_id`,`option_name`),
KEY `option_name` (`option_name`)
) ENGINE=MyISAM AUTO_INCREMENT=936 DEFAULT CHARSET=latin1 AUTO_INCREMENT=936 ;

-- --------------------------------------------------------

--
-- Table structure for table `wp_post2cat`
--

CREATE TABLE IF NOT EXISTS `wp_post2cat` (
`rel_id` bigint(20) NOT NULL auto_increment,
`post_id` bigint(20) NOT NULL default '0',
`category_id` bigint(20) NOT NULL default '0',
PRIMARY KEY (`rel_id`),
KEY `post_id` (`post_id`,`category_id`)
) ENGINE=MyISAM AUTO_INCREMENT=829 DEFAULT CHARSET=latin1 AUTO_INCREMENT=829 ;

-- --------------------------------------------------------

--
-- Table structure for table `wp_postmeta`
--

CREATE TABLE IF NOT EXISTS `wp_postmeta` (
`meta_id` bigint(20) NOT NULL auto_increment,
`post_id` bigint(20) NOT NULL default '0',
`meta_key` varchar(255) default NULL,
`meta_value` longtext,
PRIMARY KEY (`meta_id`),
KEY `post_id` (`post_id`),
KEY `meta_key` (`meta_key`)
) ENGINE=MyISAM AUTO_INCREMENT=5556 DEFAULT CHARSET=latin1 AUTO_INCREMENT=5556 ;

-- --------------------------------------------------------

--
-- Table structure for table `wp_posts`
--

CREATE TABLE IF NOT EXISTS `wp_posts` (
`ID` bigint(20) unsigned NOT NULL auto_increment,
`post_author` bigint(20) NOT NULL default '0',
`post_date` datetime NOT NULL default '0000-00-00 00:00:00',
`post_date_gmt` datetime NOT NULL default '0000-00-00 00:00:00',
`post_content` longtext NOT NULL,
`post_title` text NOT NULL,
`post_category` int(4) NOT NULL default '0',
`post_excerpt` text NOT NULL,
`post_status` enum('publish','draft','private','static','object','attachment','inherit','future','pending') NOT NULL default 'publish',
`comment_status` enum('open','closed','registered_only') NOT NULL default 'open',
`ping_status` enum('open','closed') NOT NULL default 'open',
`post_password` varchar(20) NOT NULL default '',
`post_name` varchar(200) NOT NULL default '',
`to_ping` text NOT NULL,
`pinged` text NOT NULL,
`post_modified` datetime NOT NULL default '0000-00-00 00:00:00',
`post_modified_gmt` datetime NOT NULL default '0000-00-00 00:00:00',
`post_content_filtered` text NOT NULL,
`post_parent` bigint(20) NOT NULL default '0',
`guid` varchar(255) NOT NULL default '',
`menu_order` int(11) NOT NULL default '0',
`post_type` varchar(20) NOT NULL default 'post',
`post_mime_type` varchar(100) NOT NULL default '',
`comment_count` bigint(20) NOT NULL default '0',
PRIMARY KEY (`ID`),
KEY `post_name` (`post_name`),
KEY `post_status` (`post_status`),
KEY `type_status_date` (`post_type`,`post_status`,`post_date`,`ID`),
FULLTEXT KEY `autometa` (`post_content`,`post_title`)
) ENGINE=MyISAM AUTO_INCREMENT=670 DEFAULT CHARSET=latin1 AUTO_INCREMENT=670 ;

-- --------------------------------------------------------

--
-- Table structure for table `wp_term_relationships`
--

CREATE TABLE IF NOT EXISTS `wp_term_relationships` (
`object_id` bigint(20) NOT NULL default '0',
`term_taxonomy_id` bigint(20) NOT NULL default '0',
PRIMARY KEY (`object_id`,`term_taxonomy_id`),
KEY `term_taxonomy_id` (`term_taxonomy_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `wp_term_taxonomy`
--

CREATE TABLE IF NOT EXISTS `wp_term_taxonomy` (
`term_taxonomy_id` bigint(20) NOT NULL auto_increment,
`term_id` bigint(20) NOT NULL default '0',
`taxonomy` varchar(32) NOT NULL default '',
`description` longtext NOT NULL,
`parent` bigint(20) NOT NULL default '0',
`count` bigint(20) NOT NULL default '0',
PRIMARY KEY (`term_taxonomy_id`),
UNIQUE KEY `term_id_taxonomy` (`term_id`,`taxonomy`)
) ENGINE=MyISAM AUTO_INCREMENT=63 DEFAULT CHARSET=utf8 AUTO_INCREMENT=63 ;

-- --------------------------------------------------------

--
-- Table structure for table `wp_terms`
--

CREATE TABLE IF NOT EXISTS `wp_terms` (
`term_id` bigint(20) NOT NULL auto_increment,
`name` varchar(55) NOT NULL default '',
`slug` varchar(200) NOT NULL default '',
`term_group` bigint(10) NOT NULL default '0',
PRIMARY KEY (`term_id`),
UNIQUE KEY `slug` (`slug`)
) ENGINE=MyISAM AUTO_INCREMENT=63 DEFAULT CHARSET=utf8 AUTO_INCREMENT=63 ;

-- --------------------------------------------------------

--
-- Table structure for table `wp_tla_data`
--

CREATE TABLE IF NOT EXISTS `wp_tla_data` (
`id` int(10) unsigned NOT NULL auto_increment,
`post_id` bigint(20) unsigned NOT NULL default '0',
`url` text NOT NULL,
`text` text NOT NULL,
`before_text` text NOT NULL,
`after_text` text NOT NULL,
`rss_text` text NOT NULL,
`rss_before_text` text NOT NULL,
`rss_after_text` text NOT NULL,
`rss_prefix` varchar(255) NOT NULL default '',
PRIMARY KEY (`id`),
KEY `post_id` (`post_id`),
KEY `post_id_2` (`post_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `wp_tla_rss_map`
--

CREATE TABLE IF NOT EXISTS `wp_tla_rss_map` (
`post_id` int(10) unsigned NOT NULL default '0',
`advertisement` text NOT NULL,
PRIMARY KEY (`post_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `wp_usermeta`
--

CREATE TABLE IF NOT EXISTS `wp_usermeta` (
`umeta_id` bigint(20) NOT NULL auto_increment,
`user_id` bigint(20) NOT NULL default '0',
`meta_key` varchar(255) default NULL,
`meta_value` longtext,
PRIMARY KEY (`umeta_id`),
KEY `user_id` (`user_id`),
KEY `meta_key` (`meta_key`)
) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=latin1 AUTO_INCREMENT=14 ;

-- --------------------------------------------------------

--
-- Table structure for table `wp_users`
--

CREATE TABLE IF NOT EXISTS `wp_users` (
`ID` bigint(20) unsigned NOT NULL auto_increment,
`user_login` varchar(60) NOT NULL default '',
`user_pass` varchar(64) NOT NULL default '',
`user_nicename` varchar(50) NOT NULL default '',
`user_email` varchar(100) NOT NULL default '',
`user_url` varchar(100) NOT NULL default '',
`user_registered` datetime NOT NULL default '0000-00-00 00:00:00',
`user_activation_key` varchar(60) NOT NULL default '',
`user_status` int(11) NOT NULL default '0',
`display_name` varchar(250) NOT NULL default '',
PRIMARY KEY (`ID`),
KEY `user_login_key` (`user_login`),
KEY `user_nicename` (`user_nicename`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;

-- --------------------------------------------------------

--
-- Table structure for table `wpau_active_plugins_info`
--

CREATE TABLE IF NOT EXISTS `wpau_active_plugins_info` (
`id` int(4) NOT NULL auto_increment,
`plugin_name` varchar(255) NOT NULL default '',
`plugin_status` varchar(255) NOT NULL default '',
`plugin_deactive_response` smallint(2) default '0',
`plugin_reactive_response` smallint(2) default '0',
`fatal_plugin` smallint(2) default '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `wpau_upgrade_log`
--

CREATE TABLE IF NOT EXISTS `wpau_upgrade_log` (
`id` int(4) NOT NULL auto_increment,
`task_name` varchar(150) NOT NULL default '',
`task_status` varchar(150) NOT NULL default '',
`task_description` varchar(150) NOT NULL default '',
`task_log` text,
`start_date` datetime NOT NULL default '0000-00-00 00:00:00',
`end_date` datetime default NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

You may need to access your MYSQL DB controls thru your control panel (CPANEL / WHM / PLESK / HELM ) and go thru phpmyadmin to access them.
Check your CONFIG.PHP for your database settings.

Then …easily update yr blog using the WP-AUTO-UPGRADE script. Yeah..the post ID is satanic abit.




Updating without an update

Wednesday 9 January 2008 @ 7:43 pm

Well, I had the issue with having to upgrade the files of my blog manually. I placed a wishlist with the 2.5 Dev Team in the wish list to have it auto update as Fantastico is a bit slow in updating it’s files and stuff like that and by the time they updated, you have been hacked.

So, what to do unless you want to upload everything? They have this little plugin that does auto updates. It is a small set of files and if you have many blogs like me (about 72 as of today), updating them manually is a hassle. This plugin auto updates it all for you, your files and stuff like that and backs everything up.

Oh yeah. Pre 2.0 to 2.3.x needs a new database-table called Post2Cat so it does the auto updates , which is somewhat an addon to the Tags and auto save function. You will need to add that table in manually thru your SQL.

Anyway, it’s a cool feature to have in your back end, saves alot of hassle of over writing files and stuff like that. Making sure you don’t accidentally delete the wrong one is a nightmare. So, use it..it’s plain simple.

Chao! (and let me know how U find it)
PS: download the plugin, decompress and upload everything to your wp-content/plugins folder. The need of an FTP software (or even in Explorer) is needed.




More Upgrades

Saturday 10 February 2007 @ 4:31 pm

Don’t say I DID NOT WARN YOU!
I am about to embark on my biggest project ever.

What to expect? Alot of downtime, for sure,cos mainly, I’m the only person doing all these stuff.Basicly, alot of factors made me do this.

1) Powweb Servers rental are due. They are not giving us the great deal as before. $7.77 was the deal, with buy one year, get 6mths free… and I took the 2yr get 2yr free. That is still active on the Perkahwinan.Org server. I’m going to remove all that, and port it to another single entity. I have 3 servers there, and there are are two which is under utilised and nearly to it’s end of the prepaid term. So , in order to renew, it’s $200 each, and it’s not worth it. I better put it to good use and renew the domains instead.

Their servers are getting VERY SLUGGISH nowadays, so I think it’s time to port out!Too much problems.

2)Hostgator Server 51 *(NS101) is on the Pre-Upgraded set. So, I am stuck with 5GB Space…and 75GB Bandwidth, whereas the newbies get 100GB space and 1,000GB *(that’s One Terrabyte!) Bandwidth. I have noticed that this server is getting sluggish and since the time we got banned due to a script error. So I did not want that to happen, and killed ALL of my sites, thus I took on more, with one I got for 1c on the first month. It’s silly, and I can say, it’s a real hassle!

But it works like a wonder! At least I can get things done properly, with PPP giving me a hit on the head for some work!

3)My Photo Galleries software are out of date, and so I took a new licensing for TWO new sites and a Photo based Advertising Gallery. That will be on my Free Property Listings - UK Edition. It’s a EBAY Style listing, and Foruming all in one. I will be working on it abit more, cos the previous marketplace I installed, well…sucked! Open Realty also has ALOT of limitations. I don’t want a vB based Job Marketplace…like Powweb did…..nor I want something on Ruby-on-Rails which I don’t even know head from tail! I will work on this once I learn new tricks and when my Linux machines come back to me. At least I can crash and trash it for all I care.

4)For the time being, it’s a one man show, less Mommy Tia & Co, in the world of Technology.My old operations have cease due to alot of problems I don’t even want to get into details.It sucks, and I hate to part with my friends who are my co-workers. So, if you want to work on this project with me, fine, as it’s quite promising, especially on the advertising aspect of things.

There will be more…but do understand if any of the network sites have an issue, it’s probably me doing something in the back…again!

Best Wishes.

Azrin




Glossary of what I am saying.

Thursday 8 February 2007 @ 11:28 pm

I’m right now testing the new IMM Wordpress Glossary Plugin thanks to a hack I found on the PPP Site.This is UNPAID,cos seems I can’t take ANY opportunity cos the Domain Host Incorrect problem.It’s problematic, but I’ll just continue anyway.

They want an HONEST UNBIASED REVIEW of this plug-in.It’s a simple thing to do actually.Unzip, Upload and install. But having install it, I am trying to find why must I use it.Well, I love to use geeky terms and things. Basicly, it’s like a dictionary of things you don’t expect, like if I use the term “you are kiasu”, the glossary allows you to look it up here.

I must admit that its a powerful tool to me, cos I love my short forms etc etc, and sometimes these monkeys of an advertiser just joy-click and ban me for whatever reason, and once, cos they think my posting is crap cos they don’t understand it. Heck , they don’t even speak proper Queen’s English , and yet they want to give a full authority of what to be dictated.LanTui I say!

It’s being proper and likewise, some terms in IT like what is SATA confuses oneself.So there you go, if I have it, it’s there to read and convert into normal layman term. However, I am such a lazy person, and hate to write the glossaries itself. Can’t I get an auto right click ..something like that, like the feature in Office Vista. They can highlight in Text-area if there are grammatical errors, spelling mistakes and so forth.

There are more…and I’ll add more when I am done tweaking.Anyway.
Now I need a nap!




Errata - Bug Problem on ANTI SPAM!

Friday 2 February 2007 @ 8:10 am

I found the most troublesome Bug on my HTACCESS Which caused the severe error earlier on.

Start off with
I’m gonna say RWC as re write cond;RwR denoting Re Write Rule OK?

RewriteEngine on
RewriteBase /

RwC
s%{HTTPS} ^((s)on|s.*)$
RwR ^/*(.+/)?([^.]*[^/])$ http%2://%{HTTP_HOST}/$1$2/ [L,R=301]

That is to start off, so if it’s a SSL or not, it will work.

Then,
RwC %{REQUEST_METHOD} POST
RwC
%{REQUEST_URI} .wp-comments-post\.php*

This means anything for files WP-COMMENTS-POST.PHP
We have to Denote a \. to anything with a Period or FULL STOP.

Here where it gets interesting…..

RwC %{HTTP_REFERER} !.*azrin.net.* [OR]

That is an error big time on itself. It means if HTTP REFERER is Not from Azrin.net.anything, which can be a.azrin.net.spam byitself
it should be

RewriteCond %{HTTP_HOST} ^(www\.)?azrin\.net [NC]
RewriteCond %{HTTP_REFERER} !*(www\.)?azrin\.net [OR]
RewriteCond %{HTTP_REFERER} !.*azrin\.net

RewriteCond %{HTTP_USER_AGENT} ^$

{this means any user agent.I will write one for Firefox,IE and Safari etc. That code is in dev still}

RewriteRule ^http://chat.nu/?Channel=Go-Fuck-Your-Self-Spammers$ [R=301,L]

Previously I made an error and wrote a (.*) meaning it will loop itself
I will rather redirect that to a page where the IP etc will be blocked byitself.

I’m not ready to test this code YET…cos of some other stuff I need to tweak in my MOD_REWRITE.C in the APache.

Try at your own risk

try posting this in as it is…with a \. etc will kill your SQL Database.Just a note.So Don’t try to blog lift this post. It will also work on those RSS FEED jokers who love to swipe your works of art.

Leave me a comment on myBlog if U need more help.
Minthu:U better implement this asap…comment spam code.

Post Errata Edit:
I found another thing you need to do….
while I must warn that this will affect yr current PPP postings,it will still work if you use an older P=nnn system.

Go to Options>Permalinks
/wp-admin/options-permalink.php

Change the Permalink to something you like, like by postname or what.
the help quide is there, but I prefer %postname% instead.

And I found this post kills any RSS leechers cos the double backslash period kills the SQL inserts of a remote cron.

Anyone has trouble etc, let me know.




«« Previous Posts



Buddy Link:
SEO Engineering 101 Hacks and Cracks
In the Kitchen With Kak Mar
Walk with me in Europe
Singaporean in Europe
Ramble with the V@mp
With Her Royalness A Tun King Tia

--------------
Do Visit these:
CHATTER BLOCK