NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page PHP or CGI?

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


View Poll Results: PHP or CGI?
PHP 3 100.00%
CGI 0 0%
Voters: 3. You may not vote on this poll

Closed Thread
 
LinkBack Thread Tools
Old 07-21-2003, 02:26 AM THREAD STARTER               #1 (permalink)
NamePros Regular
Join Date: Jun 2003
Location: California
Posts: 245
Alpha is an unknown quantity at this point
 



PHP or CGI?


Which of these 2 scripts do you like best and why?
__________________
--Alpha
Alpha is offline  
Old 07-21-2003, 02:47 AM   #2 (permalink)
NamePros Regular
Join Date: Sep 2002
Location: Canada
Posts: 481
DarkDevil is an unknown quantity at this point
 



Voted PHP
-------------

CGI is not a language like php. a cgi script is often coded using perl, c, c++, or other popular coding languages. PHP, however, is a scripting language on its own which can be used in conjuction with SQL.
__________________
Sometimes I lay awake at night and I ask "Where have I gone wrong?" Then a little voice says "This is going to take more than one night"
DarkDevil is offline  
Old 07-21-2003, 03:04 AM THREAD STARTER               #3 (permalink)
NamePros Regular
Join Date: Jun 2003
Location: California
Posts: 245
Alpha is an unknown quantity at this point
 



Well that's a good reason. I reworded it a bit lol. I've seen a few forums written with cgi scripts. But the majority are in php.
__________________
--Alpha
Alpha is offline  
Old 07-21-2003, 03:37 AM   #4 (permalink)
NamePros Regular
Join Date: Sep 2002
Location: Canada
Posts: 481
DarkDevil is an unknown quantity at this point
 



It is true that there are cgi forums, these are usually done in perl though. I believe i've seen some .asp forums aswell. But i'm not positive, i'm not that familiar with asp though i've been told its a good language to learn for those familiar with visual basic. When i find some free time, outside of work and learning how to use 3d studios max i may take a look at it.

Anyway, when it comes down to it. PHP is by far the best, the flexibility of it, and compatibility when it comes to servers and whatnot, and from my experiance, i'd say PHP.
__________________
Sometimes I lay awake at night and I ask "Where have I gone wrong?" Then a little voice says "This is going to take more than one night"
DarkDevil is offline  
Old 07-21-2003, 10:18 AM   #5 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer
i chose php


reasons:

cgi seems to be slower to me, cgi scripts have always been hard for me to set up and it seems a bit more rescticted than php

note: i have never gone to type any cgi script at all so i opinions may seem a little bias
adam_uk is offline  
Old 07-22-2003, 01:06 AM   #6 (permalink)
Senior Member
Join Date: Aug 2002
Posts: 1,255
deadserious has a spectacular aura aboutdeadserious has a spectacular aura about
 



Yea, like DarkDevil said CGI isn't a programming/scripting language. I think the question or poll you're probably meaning to ask is actually Perl or PHP. Perl is probably the language that you see most them forums and other cgi scripts coded in.

????: NamePros.com http://www.namepros.com/programming/15030-php-or-cgi.html
You can even run PHP as a CGI binary. I run the CGI version of PHP for some command line scripts. #!/usr/bin/php

I like both Perl and PHP. Perl is an entire programming language and PHP is basically a scriptiing language made for the web.

More info on CGI here: http://hoohoo.ncsa.uiuc.edu/cgi/
deadserious is offline  
Old 07-22-2003, 01:42 AM THREAD STARTER               #7 (permalink)
NamePros Regular
Join Date: Jun 2003
Location: California
Posts: 245
Alpha is an unknown quantity at this point
 



Quote:
Originally posted by deadserious
Yea, like DarkDevil said CGI isn't a programming/scripting language. I think the question or poll you're probably meaning to ask is actually Perl or PHP. Perl is probably the language that you see most them forums and other cgi scripts coded in.

You can even run PHP as a CGI binary. I run the CGI version of PHP for some command line scripts. #!/usr/bin/php

I like both Perl and PHP. Perl is an entire programming language and PHP is basically a scriptiing language made for the web.

More info on CGI here: http://hoohoo.ncsa.uiuc.edu/cgi/
Yeah I read about that when I installed PHP it asked if I wanted to run it as a CGI binary but it said it was suicidal lol.
__________________
--Alpha
Alpha is offline  
Old 07-27-2003, 03:51 AM   #8 (permalink)
Senior Member
Join Date: Aug 2002
Posts: 1,255
deadserious has a spectacular aura aboutdeadserious has a spectacular aura about
 



Quote:
Originally posted by Alpha
Yeah I read about that when I installed PHP it asked if I wanted to run it as a CGI binary but it said it was suicidal lol.
LOL, it's okay if you're the only one that can run or access it. :webdev:
deadserious is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 06:16 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger