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

Re: [MacPerl] Off topic: PHP vs (Mac)Perl?



I Hate to say this on a PERL list, But I really really really like PHP. The
Language tends to get a little PERL-like, but things like:

-Automtic creation of HTTP Headers
-Easy Database Access
-The intuitive handling of cookies and form input. Everything is turned into
a variable for you.
-Intuitive handling of form-file uploads
-Built in functions (sorta.... they need to be activated in one
configuration file) for IMAP,POP LDAP, XML, Image Creation
-Using the same file opening functions as you use for files on the server,
you can seamlessly access files via HTTP and FTP
-All of the above is achieved without external modules.

really make it a joy to work with.

An interesting note is that PHP does not need to be embedded in a page, you
can make scripts by using something similar to:

#usr/bin/php

<%


php code

%>

you can include a switch on the shebang line to squelch the HTTP Headers, if
you like, so it acts just like any other shell language.


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