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

Re: [MacPerl-WebCGI] PHP vs. Perl?



Riccardo,

No.  PHP is a lot like HTML::Mason, except you don't go through
mod_perl.  This is because PHP itself can run as an Apache module
(and it's not Perl).

PHP resembles C much more than Perl does, so the syntax is rough,
to say the least.  I'd use PHP only for rapid prototyping, although
entire Web sites are built and maintained on PHP.

For MySQL access in PHP, you'd use the functions named mysql_*.  In
Perl, you'd use the DBI module.

-Hao

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org