Skip to content
DevChunks

DevChunks

Web development tips, tricks and advice

  • PHP
  • MySQL
  • JavaScript
  • Tools
  • Store
  • About
  • Contact
DevChunks
DevChunks
Web development tips, tricks and advice
  • PHP

    PHP Tips and Tricks

    ByCarey March 11, 2011November 18, 2026

    A roundup of ten PHP tips and tricks from DevChunks, covering dates, redirects, error reporting, the GD library, sending email and more.

    Read More PHP Tips and TricksContinue

  • PHP

    More Ways to Hide PHP Usage

    ByCarey March 10, 2011May 16, 2026

    More ways to hide PHP usage from visitors: extension-less files via ForceType, MultiViews, and turning off expose_php in php.ini or per file.

    Read More More Ways to Hide PHP UsageContinue

  • PHP

    Hide PHP Usage

    ByCarey March 9, 2011May 16, 2026

    How to hide that your site runs on PHP by giving PHP files a different extension and configuring it with an AddType line in .htaccess.

    Read More Hide PHP UsageContinue

  • PHP

    Send an email from PHP

    ByCarey March 9, 2011November 18, 2026

    How to send email from PHP with the mail() function, validate addresses with FILTER_VALIDATE_EMAIL, and when to switch to the PEAR Mail package.

    Read More Send an email from PHPContinue

  • PHP

    Get the Apache and PHP Version Info

    ByCarey March 9, 2011May 16, 2026

    Two simple ways to get the Apache and PHP version info running your site, using phpinfo() or SERVER_SIGNATURE, plus how to extract just the versions.

    Read More Get the Apache and PHP Version InfoContinue

  • PHP

    Create an image on the fly with the GD library

    ByCarey March 8, 2011May 16, 2026

    How to create images on the fly in PHP with the GD library, using imagecopyresized and imagecopyresampled to build and save dynamic thumbnails.

    Read More Create an image on the fly with the GD libraryContinue

  • PHP

    Error reporting with PHP

    ByCarey March 8, 2011November 18, 2026

    How to control PHP error reporting levels with the error_reporting() function and constants like E_ALL, E_WARNING, E_NOTICE and E_PARSE.

    Read More Error reporting with PHPContinue

  • PHP

    Ignore User Aborts with PHP

    ByCarey March 8, 2011May 16, 2026

    How the PHP ignore_user_abort() function controls whether a remote client can abort a running script, with a full working example.

    Read More Ignore User Aborts with PHPContinue

  • PHP

    Change your Display for Different Currency Formats

    ByCarey March 7, 2011May 16, 2026

    How to format prices for different currencies in PHP with number_format(), covering English and French notation and what each argument does.

    Read More Change your Display for Different Currency FormatsContinue

  • PHP

    Redirect Visitors to a Different Web Page

    ByCarey March 7, 2011May 16, 2026

    How to redirect visitors with the PHP header() function, why output before it breaks the redirect, and when to send a 301 versus a 302 status code.

    Read More Redirect Visitors to a Different Web PageContinue

  • PHP

    Display the date and time with PHP

    ByCarey March 7, 2011November 18, 2026

    How to display the current date and time with the PHP date() and time() functions, plus an example using the PEAR Date class for time zones.

    Read More Display the date and time with PHPContinue

  • MySQL

    How to Update Data in MySQL

    ByCarey January 27, 2011May 16, 2026

    How to use an UPDATE query to change existing data in your MySQL tables, with the syntax explained.

    Read More How to Update Data in MySQLContinue

Page navigation

Previous PagePrevious 1 2 3 4 5 6 7 Next PageNext

Get notified of new posts:

Facebook X Instagram
  • About
  • by ameN
  • Contact
  • Privacy Policy

© 2026 DevChunks

  • PHP
  • MySQL
  • JavaScript
  • Tools
  • Store
  • About
  • Contact