Other articles

  1. Useful One-Line PHP files

    Here are a couple useful PHP commands that you can run on your server to get useful information.

    This one gives basic information about the PHP installation, which can be used for troubleshooting or just verifying that PHP is running.

    <?php phpinfo(); ?>

    This one tells you the name of the …

    read more
  2. PHP Equal-Sign Operators

    Reading some php code, you might get confused about the difference betweeen =, ==, and === (this single, double, and triple equal signs). Here's a quick summary.

    = (Assignment) Just like in (pretty much) every other programming language.

    == (Equality) Returns true if the two variables have the same value.

    === (Identity) Returns true if the …

    read more