Startup Weekend Delhi in April, 2012


Startup Weekend Delhi in April, 2012

If you are a budding entrepreneur or a web developer, or are an entrepreneur, then from experience I can guarantee you, that this is one event you don’t want to miss. The concept of the event is simple:

  1. You buy the tickets.
  2. You go to the event and attend it.
  3. You pitch your “new idea” to the people.
  4. You try to get as much votes for the idea, as possible. All participants including those who pitch an idea have one vote so this is one activity where your communication skills are truly tested.
  5. If your idea gets enough votes, you become eligible for presentation stage.
  6. You need to make your team there and then. If you are a developer, you will be in VERY HIGH DEMAND.
  7. You need to create a working model for your idea. (99% times, people end up making nothing more than a simple prototype.)
  8. You give the presentation and if you win, you get all the goodies.
  9. Even if you do not win, you might win some other goodies in some other categories.

While last time, there was no theme, this time there is

“build a web or mobile EDU application which could form the basis of a credible business over the course of a weekend”

Last time around, this event was covered internationally and was a huge success and this time I see no reason why it will be otherwise.

The event is open to anyone and I will encourage students to attend it too. The price for attending the event is Rs 2000/- but this also includes

  • lunch and dinner.
  • random motivational talks and presentations by prominent people. (they are great)
  • chance to network with like minded people.
  • a chance to discuss your idea with mentors.
  • Meet potential investors and businessmen. (Yes they are roaming all over)

Last time the even was a 2.5 day long affair and it is likely that this time too it will be that long only.

You can register for the event here.

The event is at Apeejay Sheikh Sarai, on April 13, 2011. Share this post, if you want to inform your friends about it.

Web Development Crash Course


Web Development Crash Course

Webinstitute.in is conducting a 15 day crash course in web development in Kalkaji, New Delhi.
This crash course will be especially helpful for

  • bootstrapping entrepreneurs who do not wish to spend too much on website development for their startup.
  • Any undergraduate looking to develop new skills in short time.
  • Engineering undergrads looking to get a good internship.
  • Hobbyists who wish to learn web development quickly
The highlights of the program are as follows:
  • All participants will be given detailed video tutorials on web development apart from the classes.
  • The participants need not have any prior background in technology and they will be able to grasp the concepts well enough.If you can use facebook, you are eligible.
  • Extremely practical knowledge will be given. You will be taught how to make a simple beautiful and updatable website as well as e-commerce website with an Indian payment gateway!
  • Save thousands of rupees which you will otherwise need to pay a web developer in order to make any website. The fee of the course is just Rs 3500/-
  • Once you’ve learned how to make a website, you can work on different ideas that may come to your mind from time to time without any fear of extra expenditures.
  • Extremely practical knowledge will be given. We will also teach you about hosting your website, purchasing the domain etc.
  • The video tutorials will also give you practical knowledge of internet marketing and Search Engine Optimization.

Once again, the course is  meant for  almost anyone who wishes to learn web development quickly without putting in a huge investment.
For course contents, schedules, location etc, please visit Digital Academy Pune

Creating a CSV file from an excel database and how to get the month from “datetime”


Creating a CSV file from an excel database and how to get the month from “datetime”

In PHP, one can create almost any file type including a pdf and an image. Following is the code for creating a csv file from a database table. Just notice the first few lines where we have defined the content type. Try and remove these lines and then see what happens. It is not very hard to guess what these lines are doing here.
Also, if you will simply copy paste the code, you are likely to get an error somewhere. So be careful to rectify that error. It has been put deliberately.

 <?php
header('Content-type: text/csv');
header('Content-disposition: attachment; filename="maybirth.csv"');
$host="localhost"; // Host name
$username=""; // Mysql username
$password=""; // Mysql password
$db_name=""; // Database name
// Connect to server and select databse.
mysql_connect("$host", "$username", "$password")or die("cannot connect");
mysql_select_db("$db_name")or die("cannot select DB");
$data="";
$result =  mysql_query("SELECT * FROM customers WHERE month(customers_dob)='5'");
while($r=mysql_fetch_assoc($result))
{
$data.="\"".$r ['customers_firstname'] ."\",\"".$r ['customers_lastname'] .
"\",\"".$r ['customers_email_address'] ."\"\n";
}
echo $data;
?>

 

Start Your Own E-Commerce Website


Start Your Own E-Commerce Website

If you are a premium member of our site, then you probably are aware by now that WordPress has the ability to transform into virtually anything you want. This does not exclude an e-commerce webstore.

If you want, then you can very easily start your own completely working, rupee accepting e-commerce website for no money other than the gateway costs.

Steps involved:

The Gateway:
Getting the gateway itself will be the biggest hurdle as it takes a VERY long time to get things running. Based on your level of laziness, this process can take anything between 1 to 3 months. Cost of the Gateway will be about Rs 12000/- and you can contact the company known as EBS in India. If you want to accept rupees online then you don’t really have a choice in this regard. There are other gateway providers in India also but I haven’t worked with any other company so can’t comment on them. In case of EBS, a ton of paperwork is required. If your company is not registered, it may be almost impossible to get it. So the first thing you need to do is get your company registered. After that, the EBS guys will guide you completely about the paperwork. Assuming everything goes smoothly, you will now have access to your EBS control panel which will eventually not be in “Test Mode”. (That also takes some time as options such as credit card, netbanking etc are added in a phase wise manner.)
This control panel will allow you to create an “Add to Cart” button the code for which you can use anywhere on the website.
Apart from this, EBS also gives you multiple platform integration kits including wordpress ecommerce which I will discuss next.

WordPress Ecommerce Site
It will be a good idea to use some ecommerce theme for your wordpress website. But if you’re selling one or two products only, then you don’t need to bother as you can simply use the above “add to cart” button on a relevant page. However, if you don’t wish to use the EBS control panel all the time, you can use the EBS wp-ecommerce integration kit. In order to use that, first install a plugin called “WP e-Commerce” from your dashboard. After that you can download the integration kit from secure ebs site. If you cannot find it, take help from the person incharge and they will guide you. In the zip folder you download, you will find some instructions regarding which files to copy where. Follow them.

However, even after following them, you are likely to face some problems since the default EBS files are slightly faulty.:P. (I corrected the file and it will be downloadable by premium users. :P )

After you have corrected the files, you can now add products directly using wordpress dashboard where on the left hand side you will find a block called “Products”. You can also create discount coupon codes. The result is available here

The One Big Advantage of Internet Explorer


The One Big Advantage of Internet Explorer

The percentage of people still using the good old internet explorer is still pretty big and it seems that IE will probably never die a death at least not in India.

As per the latest data, Chrome is now the numero uno browser in India which is a very positive sign. However, it seems that this fact has not got into the heads of the heads of our big banks and companies.

If you’ve ever run into a problem making a payment through an ICICI gateway or are not able to open your internet banking, then a good chance is that the site was probably developed ONLY for internet explorer. It sucks but it is true.

A friend of mine was trying to reserve his railway ticket to Lucknow the other day. He tried to make the payment through his ICICI debit card on the irctc website. (Man that’s a bad website). He failed thrice and got some Blue Screen every time. (The blue screen came on the browser and it reminded me of the Windows 98 BSOD)

We were about to give up when I suggested to him to open the site and repeat the whole process one last time in the world’s suckiest browser. We did and voila!! No Blue Screen this time. The site was working perfectly in Internet Explorer.

Similarly, my dad likes to do a lot of share trading on the internet. Even his bank’s site works fine ONLY on internet explorer.

In conclusion, the great and important websites in India, sometimes work ONLY in the IE browser. It’s sad but true. So next time, if a website does not work in Chrome, maybe you should try opening it in IE!

PS: I beg of you to use IE 9 if you really wish to use IE regularly. I double beg you to use Chrome. It’s the best browser ever and very fast and intuitive.

The One Big Advantage of Internet Explorer


The One Big Advantage of Internet Explorer

The percentage of people still using the good old internet explorer is still pretty big and it seems that IE will probably never die a death at least not in India.

As per the latest data, Chrome is now the numero uno browser in India which is a very positive sign. However, it seems that this fact has not got into the heads of the heads of our big banks and companies.

If you’ve ever run into a problem making a payment through an ICICI gateway or are not able to open your internet banking, then a good chance is that the site was probably developed ONLY for internet explorer. It sucks but it is true.

A friend of mine was trying to reserve his railway ticket to Lucknow the other day. He tried to make the payment through his ICICI debit card on the irctc website. (Man that’s a bad website). He failed thrice and got some Blue Screen every time. (The blue screen came on the browser and it reminded me of the Windows 98 BSOD)

We were about to give up when I suggested to him to open the site and repeat the whole process one last time in the world’s suckiest browser. We did and voila!! No Blue Screen this time. The site was working perfectly in Internet Explorer.

Similarly, my dad likes to do a lot of share trading on the internet. Even his bank’s site works fine ONLY on internet explorer.

In conclusion, the great and important websites in India, sometimes work ONLY in the IE browser. It’s sad but true. So next time, if a website does not work in Chrome, maybe you should try opening it in IE!

PS: I beg of you to use IE 9 if you really wish to use IE regularly. I double beg you to use Chrome. It’s the best browser ever and very fast and intuitive.

How to check if a URL contains a string in PHP


How to check if a URL contains a string in PHP

I can’t tell you exactly where or in what situations can occur where you need to find out if a URL contains a particular string or not but there is a good chance that you will find yourself in such a situation sometime. In such situations, you can do the following.

Use the following code to get the url itself:

function curPageURL() {
$pageURL = ‘http’;
if ($_SERVER [“HTTPS”] == “on”) {$pageURL .= “s”;}
$pageURL .= “://”;
if ($_SERVER [“SERVER_PORT”] != “80″) {
$pageURL .= $_SERVER [“SERVER_NAME”] .”:”.$_SERVER [“SERVER_PORT”] .$_SERVER [“REQUEST_URI”] ;
} else {
$pageURL .= $_SERVER [“SERVER_NAME”] .$_SERVER [“REQUEST_URI”] ;
}
return $pageURL;
}

Next use the strpos function to find out the same. For example:

<?php

$url=curPageURL();

$pos = strpos($url2,”checkout_success”);

if($pos===true)

echo “this substring is there”
?>

Getting Started with PHP


Getting Started with PHP

In this post, I will teach you how you can get started with PHP language. The very precise, step by step instructions are written.

  1. Download WampServer from this link
  2. Install Wamp Server. This is generally very easy and should take only a few minutes.
  3. Start wampmanager.exe in your c:\wamp\. In your taskbar, a semi circular icon should appear. This icon should be
  4. Create a folder c:\wamp\www\test
  5. Create a file called test.php
  6. Write the following program in it
  7. <?php echo "Hello World"; ?>
  8. Open your browser and type http://localhost/test/test.php

A great HTML5 based Powerpoint Substitute.


A great HTML5 based Powerpoint Substitute.

If you have good knowledge of HTML, then you can now say no to Powerpoint. Introducing a new HTML 5 based presentation package Deck.js

Using Deck.js, you can create slides much more quickly and with all the knowledge of HTML and CSS that you have, you can imagine the kind of possibilities are there as far as animations are concerned. Advantages of this package are quite evident:

  1. Platform Independent: You only need a browser to run your presentations.
  2. More Freedom in terms of animations and timings: Using CSS3 keyframe animations and its in built features, you can pretty much create anything.
  3. Infinite Themes: You can create slide themes quickly and easily.
  4. Put presentations on your website.
Using Deck.js obviously requires prior knowledge of web technologies and that is why only web geeks can use it as of now. But if you can use it, this package is much much better than Powerpoint.

There is No Such Thing As a Static Website!


There is No Such Thing As a Static Website!

The internet has been around for more than 2 decades. It has transformed the way we do business. Just like a telephone number, any business worth its salt needs to have a website. (Well, I am not talking about your grocery store here since that will work regardless of whether it has a website or not.) In India, everything comes late. This includes the “awakening” of the Indian businessman to the fact that his business needs a website. There are several reasons for them to have a website but the most common one is : “We need to write something on our visiting cards and brochures otherwise what will people think?” I sincerely feel that this mindset definitely needs to change. While this reason is good, the businesses should also see that their website is also bringing them business.

Websites are not being used as business generating tools.

However, it is slightly ironic that while on one hand, they want to have a simple “5″ page website which they can print on their visiting cards, they also want their site to be among the top 10 results in Google for a given set of keywords.(Although I did come across one person who wanted his site to be among the top 10 results for every single keyword imaginable including “porn”. And this was for the foundation of one of India’s top cricket players!!!)
Here’s the bad news: It can’t be done. If you have a simple website consisting of 5 pages only then just forget about it. You can never be in top 10 results. Period. And if you aren’t search-able, what good is having a website anyway?

Relying solely on search engines for visits is also a risky proposition. This is because putting all your eggs in one basket is never a good thing. (Not that it will ever happen, but where will your business be if it relies ONLY on Google, if one fine day, Mr Page decides that I would now like to enjoy my wealth only and it’s time to shut down Google.)

Gone are the days when you could be found only by search engines

This is the time of social media. I find most of the new and interesting content on the web through other people who are sharing it on facebook, twitter, buzz etc. I use search engines when I have to find a highly specific content on the web. Most of the times, it is my friends who are feeding content to me. And with the recent updates in the Google search algorithm, Google likes it very much when people share some link on social media. Thus in a way,

Google Rank of Your Website? Social Rank

This means that if you are able to make a good presence of drugs online your website in the social media, search engines are likely to take notice. Now as a business owner, if yours is a 5 page website only, then take it from me, you are very likely to hesitate in sharing anything on your site with your friends on Facebook. Besides, there is only so many times you can shove a “About Us” page down the throats of your facebook buddies! Levitra efectos

There is only so many times you can shove a “About Us” page down the throats of your facebook buddies!

So what do you need to do if you wish for people to find your website by any and every means?

Firstly, you need to get rid of this static website mindset. There is no such thing as a static website. Static websites are pretty useless.  So if you are looking to get a website created, ALWAYS go for one which you can easily update!

Update Your Website as Often as possible: Search Engines like those websites whose content is updated frequently. Content is like a finger poking the search engine crawler to come and visit the website.Thus if you wish to have a successful website, you MUST update its content as frequently as possible.

 Your website is not a brochure. It’s a magazine

So what can your content be about Venta de levitra ?

  1. It should be related to your business.
  2. It should educate your target market about your business. When you give away free knowledge, your target market is very likely to trust you more and respect you as an authority.
  3. What’s happening in the world which is related to your business.

 

To conclude, if you cannot update your website frequently, you should not even HOPE to be in Google top 10.