Posts

Showing posts from December, 2013

Connecting to MySQL database via Perl/CGI on Godaddy Linux Hosting

Connecting to MySQL database via Perl/CGI on Godaddy Linux Hosting I have had to face the problem of finding the right syntax to connect to MySQL server on my linux hosting at godaddy. Finally after days of searching, and no help from godaddy support (they suck straws big time!), I was able to finally get my database to connect and proceed further. This is the script: Explaination line-by-line: Line 1:  #<some text>    ---- > this is a comment, but #!<some path> ----> this is required for your script to work, it tells where the perl files are located.   #!/usr/bin/perl is saying that perl files are located in a local folder, which is located at /user/bin/perl   Line 2: Apparently with Godaddy, modules only load when you add this additional line ( use cPanelUserConfig; ) Remember, that Perl uses a module called DBI to connect to databases of various types, it is later on described, which type of database it is, but this line only says where to f

Godaddy Vs Bigrock

Quick Comparison between GoDaddy & Bigrock in India A question that comes to your mind often, is when buying websites in India what is your best option. Well, given from personal experience that I hardly take 10-20 minutes to make up my mind about this sort of subject where there is no physical object in question, I want to share a quick article about few things related to setting up websites.  This is the complete list of registrars which you may want to see, anyone outside of this list is not to be trusted (strongly!):  http://www.icann.org/registrar-reports/accredited-list.html Cost & Payment Options If you go through the list, you would find that a majority of domain registrars are based in US, and very few in India. Even for non-US ones, expect to pay in Dollars $ , which is quite expensive for your average Indian, and honestly, if you have too much money to waste it on currency exchange.. give it to me! lol! So far, only two registrars I have come to t