Answers to Your Frequently Asked Questions related to Web Design and Programming.
All of us come across a stage when we want to check the website but we do not want the Search Engines to crawl the website for one reason or another. Some times because we are using dummy content from another website so we do not want to get penalized for duplicate content, some times because we are using Lorem Ipsum and we do not want the search engines to index those pages. Here is a something that needs just a text editor, any will do and access to upload a file on the server. All this needs is, robots.txt file ...
» continue readingNoticed someone looking for Adsense Experts who can help the client monetize some expired domains that they have purchased which still continue getting some traffic. And maybe there are more people looking for such Adsense Experts who can help them make more money. Technically (maybe Im not an Expert), I do not see how this can be possible. As their requirement clearly mentioned, they want to use Adsense for Domains, which means that the domains need to be parked on Google Name Servers which in turn means that you will not have FTP Access to put up a website on these ...
» continue readingLocal Timestamp in PHP Recently I was stuck with one of the assignments which required Local Indian Timestamp to be inserted into database and was not able to find anything better than this even after much googling. I hope you find this useful and if there is a better way, Please let me know and I will update this post. I know there is a better way with PHP 5.3+ but this had to work on a lower version. <?php /* * Function to turn a mysql datetime (YYYY-MM-DD HH:MM:SS) into a unix timestamp * @param str * The string to be formatted */ function convert_datetime($str) { list($date, $time) = ...
» continue readingCode to Display Indian Time in PHP When you have clients in India, you definitely will need this at one time or another to display Indian Time on the pages published using the perfect CMS that you have built. This small snippet explains how to get Indian Time in PHP without changing the server times and timezones. So irrespective of whether your server is in PST or GMT, you can still display IST when displaying this with PHP. <?php $timezone = new DateTimeZone("Asia/Kolkata" ); $date = new DateTime(); $date->setTimezone($timezone ); echo $date->format( 'H:i:s A / D, M jS, Y' ); ?> Here is a list of supported timezones in ...
» continue readingFirst Page on Google by Email Marketing Many SEO Experts who are filling in your contact forms.... what can they really do? I get one or more email everyday from so called SEO Experts who claim that they can get me more clients and customers by getting me on First Page of Google. They claim that they can help our clients find us on all search engines within days. Now considering that I have captcha on my contact forms, I am assuming that there is a human filling up this form which means that the business that is trying to help my website ...
» continue reading