Finding tag through regex

August 11, 2008

I am saving this for my reference , A post with all commonly used regex, The regex like saving image tags, html links , email validation etc . are one of the most common used regex ! 1)   Finding <img> tag through php using regex. $pattern = ‘/<img[^>]+src[\\s=\'"]‘; $pattern .= ‘+([^"\'>\\s]+)/is’; if(preg_match($pattern,$subject,$match)) { echo [...]

Read the full article →

Which is best web hosting for you ?

August 6, 2008

Most of my readers know that i started my career as a web hosting guy, Selling hosting and domain names. Hosting and domain flipping still remains my favorite past time, And i research a lot, Lately i was not able to answer all my friend queries for hosting queries so trying to sum up , [...]

Read the full article →

Correct .htaccess structure

August 2, 2008

Usually we all get very greedy while making our url structure using .htaccess For example, This will not work as you think RewriteRule ^(.*)/$ category/categories.php?cat=$1 [L,QSA] RewriteRule ^(.*)/(.*)/$ category/categories.php?cat=$1&name=$2 [L,QSA]

Read the full article →

Firefox 3 Download Day — A world record

June 20, 2008

Finally Firefox 3 Download day was completed, At the start of the launch spreadfirefox.com was barely even accessible, But in few hours site was back and throwing download at avery good speed. Here are the final stats Total Downloads 14,431,224

Read the full article →

Yav — Javascript Validation tool

June 5, 2008

I have been following cakephp framework for any new development that i do, But since now and then you come along some fixing work for old scripts. I hate really fiddling with javascript for cross-browser issues everytime i use them, After starting through frameworks finally i got common sense of not re-inventing wheel again and [...]

Read the full article →

Running smarty on shared hosting

May 30, 2008

Just needed to install and make ready smarty for a small project, Was thiking of again going to official howto when i stumbled to a very nice “For dummies” article for putting smarty out of box http://tinyurl.com/5py5o8 Nice work dude.

Read the full article →

Integrate twitter with your blog

April 6, 2008

Here is a nice and quick way to integrate twitter with your wordpress blog . 1. Download twitter-tools from http://downloads.wordpress.org/plugin/twitter-tools.1.1b1.zip 2. Extract it into wp-content/plugins/ folder and activate it from dashboard , After enabling it just activate features of twitter-tools from Options menu ( I have activated tweeting on my each blog post, That`s great. [...]

Read the full article →

Merging multiple feeds into a single feed using yahoo pipes

March 3, 2008

I usually read a lot of marketing blogs and use primarily a rss feeder to go through all blogs. Lately i felt a need of merging these feeds into one so that i can use them easily while reading or display visually n some applications. Searched on Google and Pat came reply, Yahoo Pipes. Here [...]

Read the full article →

Theory behind Multilingual domains and security issues

April 27, 2007

Well the topic of multilingual domains is really looking very interesting to me , so here am i in my 2nd night reading about multilingual domains. Now as i have studied currently Every Web addresses are typically expressed using Uniform Resource Identifiers or URIs. The URI syntax defined in RFC 3986 STD 66 (Uniform Resource [...]

Read the full article →

Windows and linux are different

April 23, 2007

Windows users are more or less in a customer-supplier relationship: They pay for software, for warranties, for support, and so on. They expect software to have a certain level of usability. They are therefore used to having rights with their software: They have paid for technical support and have every right to demand that they [...]

Read the full article →