PHP - page 4

  1. Tutorial on delivering jpeg files with the correct mime type and headers using PHP.
  2. How to obtain the IP address of the server where the PHP script is running.
  3. Tutorial showing how to obtain the IP address of a visitor from PHP.
  4. The PHP $_POST and $_GET super globals will never be undefined, developers should use empty instead of isset.
  5. The to field is duplicated when using PHPs mail function, and I do not know why.
  6. In this tutorial I show how to create a simple_delete() function in PHP to automatically delete whatever you ask it, and also handle errors.
  7. How long will it take to learn PHP
  8. How to do disk operations, such as creating and deleting files, in PHP.
  9. I needed a script to quickly rename all files in a directory, so I came up with this elegant PHP solution.
  10. Heredocs might break for many reasons in PHP, even trimming by editors can sometimes break heredocs.