[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: Perl or PHP



On Tue, Dec 05, 2000 at 01:27:02PM +0400, helixfish@gmx.net wrote:
> hi.  sorry for the off-topic post.  i'm embarking on a journey to be a web
> developer and would like to know if i should use mod.perl or mod.php for cgi?
Uh, this depends on what you wan't to do.
One basic thing:
cgi stands foc common gateway interface. Through this interface you can start
all binarys or other programm code wich is supported by the operating system.
php has nothing to do with cgi. It's a special apache mod.

> i've searched and read alot of faqs and so far they're all just howtos.  the
> only conclusion i can come up with is with php u can use it directly with html
> (plus also call it from html code) whereas with perl the only way u can use it
> is to call it from your html code.
Don't know if you got it exectly. The main difference it between cgi's and php.
A cgi (could be Perl, C or whatever) prints the html code, in a php doc you
normaly put the results within the php code. Start a little bit reading in the
manual and you'll get it.

For work with databeses php is one of the best thinks in the web!

Cu,
Sven




Reply to: