codehaven - php snippets - coding help
Generic filters
Exact matches only
  • How to Read your PHP Error logs using .htaccess

    27th September 2014

    Random Coding

    random coding category codehaven
    1.

    and get the url that you need,
    2.

    2. Create a .htaccess file and place this file in the root directory.
    Write the following in the file.

    This will then create a readable file in the errors folder (create this) which identifies any errors in code that would appear in a browser window. For security this should be turned OFF so as not to let any would-be hacker see a file structure to attack.

    Was this code snippet helpful?