For some reason set register_globals and register_argc_argv to off in php.ini and use error_reporting(E_ALL) or die!* doesn't have the same ring to it as use strict;.

For me PHP is only really bareable if I do everything in a very strict OO style. The language got off to a really bad start when it comes to language design and is still trying to catch up. They just don't have the big guns behind them like Perl. I think of it as Perl's idiot younger brother. I love it, but still... so much country is covered in CPAN. Over in PHP land it's a wide open prarie, full of bad uns and varmits waiting to be taimed by a few brave souls.

()-()
 \"/
  `                                                   ` 
* p.s. Actually do this and most PHP libraries, such as PEAR or Sourceforge, will start choking up blood. A lot of bad habits have built up over the years.

In reply to Re: Re: Re: Re: Are we obsessed with CGI? by ignatz
in thread Are we obsessed with CGI? by rinceWind

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.