MLUG: RE: [MLUG - DISCUSSION] web development language of choice
RE: [MLUG - DISCUSSION] web development language of choice
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
in php you only have to specify a content type if your not outputting
html. ;)

"Don't sweat it -- it's not real life.  It's only ones and zeroes."
               -- spaf (1988?)

*^*^*^*
Michael McGlothlin <EMAIL:PROTECTED>
http://mlug.missouri.edu/~mogmios/projects/

On Wed, 2 Jan 2002, Ross, Matt wrote:

> Depends on how you want to write your perl, this isn't the best way, but if
> you don't care about modules, it's perfect.
> 
> ---------------
> #!/usr/bin/perl
> 
> print "content-type: html/text\n\nhello world";
> ---------------
> 
> Granted, you have to say the content type, but that allows for variable
> output.  I can output to any format (if I know its syntax), and have perl
> scripts which output PDF and other formats.  Still haven't got the Word Doc
> format to work though, but again, I don't know its syntax.
> 
> > -----Original Message-----
> > From: Ian Monroe [mailto:EMAIL:PROTECTED]
> > Sent: Wednesday, January 02, 2002 1:46 PM
> > To: EMAIL:PROTECTED
> > Subject: Re: [MLUG - DISCUSSION] web development language of choice
> > 
> > 
> > The errors are still pretty cryptic compared to a C++ 
> > compile-time errors.
> > Considering most of the time I've worked with PHP has been fixing my
> > errors, its annoying.
> > 
> > I think PHP is so popular because it is so easy to get started. 
> > <?php
> > echo "hello world";
> > ?>
> > 
> > Bam. Very low entry barriers. I saw Jay do a hello world in 
> > perl and it
> > required all kinds of includes and whatnot. 
> > 
> > I wish PHP was more OOP, as it would make some stuff easier and my
> > programs look cleaner. 
> > 
> > Ian Monroe
> > http://mlug.missouri.edu/~eean/
> > 
> > On Wed, 2 Jan 2002, Igor Izyumin Jr. wrote:
> > 
> > > > As the site isn't PHP-biased as far as I can tell (like a php.net
> > > > poll would be) those numbers interest me.
> > > Yes, they are strange.  Hotscripts.com was mostly a 
> > CGI/Perl site as far as I 
> > > can remember.  However, it's pretty obvious why it is so.  
> > Perl is not a web 
> > > language, and is much harder to learn.  PHP is very easy, 
> > and quite powerful. 
> > >  Not to mention that you actually get sensible errors out 
> > of it, not just an 
> > > "Internal Server Error" when it doesn't work.
> > > -- 
> > > -- Igor
> > > --
> > 
> > 
> > --
> > To unsubscribe, go to http://mlug.missouri.edu/members/edit.php
> > 
> > Archives are available at http://mlug.missouri.edu/list-archives/
> > 
> --
> To unsubscribe, go to http://mlug.missouri.edu/members/edit.php
> 
> Archives are available at http://mlug.missouri.edu/list-archives/
> 

--
To unsubscribe, go to http://mlug.missouri.edu/members/edit.php

Archives are available at http://mlug.missouri.edu/list-archives/