Hi! I recently signed on to a webspace provider who offers both PHP and CGI ? I wish to know which of them is better for a site and how can they be mastered? Are there any courses on the net, any pages? Plz post the links here.. After telling which of the both is better..
__________________
>> Siddhartha <<
> http://sidroy.wordpress.com <
> Beauty lies in the eyes of the Beer Holder <
Advertisements. Register and be a member of the community to get rid of them.
.
I'm workin in PHP , but first , there r things which can't b done usin php but in cgi and vise versa . If you are new to web programmin , go for PHP . Hell lotta help in internet , pretty easy to learn . Lotta codes n scripts already made etc etc .
Go for PHP...the most popular server side scripting language....which mainly became popular since it's almost like C...actually PHP was made using C...and if you know something in C, i am very sure that you can learn and get on with PHP in less than an hour.
__________________
Known is a Drop, Unknown is an Ocean...
Hmm.. well u cant compare PHP with CGI directly.. coz PHP is a scripting language wheras CGI is a Technology or Interface.. It just acts as a Gateway..
But anyway, PHP rules.. CGI based programs ruled the net once upon a time.. But they cause too much load on server..
PHP is widely used these days,, and the cost of Linux Webspace is lot lower than Windows or Java hosting.. This fact adds more advantage to opting PHP..
Well, but other conidtions like cost, being same for all types of hosting, my choice wud be JSP/servlets.. OMG>. Just too much functionality.. too easy to work with... usage of APIs.. really cool..