How to Log Errors in PHP | PHP Error Reporting and Debugging for Beginners | Log Website Errors

Dani Krossing July 10, 2023
Video Thumbnail
Dani Krossing Logo

Dani Krossing

@dani_krossing

About

Welcome! On my channel you will find horror game gameplays and streams! I also create online computer courses in programming and multimedia skills for people who wants to learn web development or video production. The courses include video editing, HTML, CSS, JavaScript, Bootstrap, and PHP tutorials.

Video Description

Today I will teach you how to log website errors using PHP, in order to show error messages in a better looking way, instead of directly inside the browser. 🙂 Showing PHP errors inside the browser is not a good security practice, and luckily we can do it in a smarter way, where only the developer can see them! ➤ GET ACCESS TO MY LESSON MATERIAL HERE! First of all, thank you for all the support you have given me! I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you! I am now using Patreon and YouTube Memberships to share improved and updated lesson material, and for a small fee you can access all the material either from my memberships or Patreon, depending on your preference. I have worked hard, and done my best to help you understand what I teach. I hope you will find it helpful :) Memberships: https://www.youtube.com/channel/UCzyuZJ8zZ-Lhfnz41DG5qLw/join Patreon: https://www.patreon.com/mmtuts

You May Also Like

PC Gaming Essentials

AI-recommended products based on this video

Loading...
KAMRUI Mini PC E3B, Mini Computer AMD Ryzen 5 7430U (6C/12T, Up to 4.3GHz), 16GB DDR4 512GB M.2 SSD Mini Gaming Pc W11 PRO, 4K Triple Display/WiFi 6/BT5.2/USB3.2 for Home/Business Mini Desktop PC Global Recycled Standard

KAMRUI Mini PC E3B, Mini Computer AMD Ryzen 5 7430U (6C/12T, Up to 4.3GHz), 16GB DDR4 512GB M.2 SSD Mini Gaming Pc W11 PRO, 4K Triple Display/WiFi 6/BT5.2/USB3.2 for Home/Business Mini Desktop PC Global Recycled Standard

(227)
$499.00
FREE delivery Sun, Jan 4Only 8 left in stock.
Loading...
wo-we P8 Mini PC AMD Ryzen 5 7640HS (Max 5.0GHz) 6C/12T Gaming PC, 32GB DDR5 RAM 1TB PCIe4.0 SSD, USB4 Support 8K, Dual 2.5GbE LAN WIFI6E/BT5.2,HDMI,DP, Radeon 760M Micro PC,Business,Home

wo-we P8 Mini PC AMD Ryzen 5 7640HS (Max 5.0GHz) 6C/12T Gaming PC, 32GB DDR5 RAM 1TB PCIe4.0 SSD, USB4 Support 8K, Dual 2.5GbE LAN WIFI6E/BT5.2,HDMI,DP, Radeon 760M Micro PC,Business,Home

(38)
$749.00
FREE delivery Sat, Jan 3
Loading...
Beelink EQR5 Mini PC, AMD Ryzen 5 5650U(7nm, 6C/12T) up to 4.2GHz, Mini Computer 32GB DDR4 RAM 1TB PCIe3.0x4 SSD, Micro PC 4K@60Hz Dual HDMI Display/WiFi6/BT5.2/Office/Home/HTPC/W-11 Pro

Beelink EQR5 Mini PC, AMD Ryzen 5 5650U(7nm, 6C/12T) up to 4.2GHz, Mini Computer 32GB DDR4 RAM 1TB PCIe3.0x4 SSD, Micro PC 4K@60Hz Dual HDMI Display/WiFi6/BT5.2/Office/Home/HTPC/W-11 Pro

(425)
$419.00
FREE delivery Sun, Aug 10
Loading...
BOSGAME E2 Mini PC AMD Ryzen 5 3550H, 16GB DDR4 RAM 512GB SSD, Mini Desktop Computer Support 4K Dual HDMI Display/WiFi5/BT5/Gigabit Ethernet for Home/Office

BOSGAME E2 Mini PC AMD Ryzen 5 3550H, 16GB DDR4 RAM 512GB SSD, Mini Desktop Computer Support 4K Dual HDMI Display/WiFi5/BT5/Gigabit Ethernet for Home/Office

(79)
$236.00
FREE delivery Sun, Aug 10
Loading...
MSI B550-A PRO ProSeries Motherboard (AMD AM4, DDR4, PCIe 4.0, SATA 6Gb/s, M.2, USB 3.2 Gen 2, HDMI/DP, ATX)

MSI B550-A PRO ProSeries Motherboard (AMD AM4, DDR4, PCIe 4.0, SATA 6Gb/s, M.2, USB 3.2 Gen 2, HDMI/DP, ATX)

(3,680)
$139.99$103.22
FREE delivery Sat, Jan 3
100+ bought in past month
Loading...
Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black
Best Seller

Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black

(17,871)
$27.98$22.38
FREE delivery Tue, Oct 14 on your first order
500+ bought in past month
Loading...
Portable Air Conditioners, wobuzhi Evaporative Air Cooler with LCD Screen, Fan Speed&Spray, 7 RGB Lights,USB Powered,1-8H Timer, Personal Air Conditioners, Portable Air Conditioners for Home Office

Portable Air Conditioners, wobuzhi Evaporative Air Cooler with LCD Screen, Fan Speed&Spray, 7 RGB Lights,USB Powered,1-8H Timer, Personal Air Conditioners, Portable Air Conditioners for Home Office

(32)
$39.99
FREE delivery Sun, Aug 10
200+ bought in past month
Loading...
llano RGB Laptop Cooling Pad with Powerful Turbofan Gaming Cooler Radiator with Infinitely Variable Speed, Touch Control, LCD Screen, 3-Port USB Hub, Seal Foam for Notebook Computer 15-19in

llano RGB Laptop Cooling Pad with Powerful Turbofan Gaming Cooler Radiator with Infinitely Variable Speed, Touch Control, LCD Screen, 3-Port USB Hub, Seal Foam for Notebook Computer 15-19in

(1,404)
$129.99
Prime
200+ bought in past month
Loading...
Neck Fan with Cooling Plate,Portable Neck Fan Rechargeable Battery Powered,Bladeless Personal Air Conditioner Wearable Neck Cooler Fans,USB Electric Quiet Necklace AC Fans for Travel Outdoor Black

Neck Fan with Cooling Plate,Portable Neck Fan Rechargeable Battery Powered,Bladeless Personal Air Conditioner Wearable Neck Cooler Fans,USB Electric Quiet Necklace AC Fans for Travel Outdoor Black

(35)
$39.99
600+ bought in past month
Loading...
MSI MAG CORELIQUID A15 240 - AIO ARGB CPU Liquid Cooler - 240mm Radiator - AM5, LGA 1851 Ready - Dual 120mm ARGB PWM Fans, Black

MSI MAG CORELIQUID A15 240 - AIO ARGB CPU Liquid Cooler - 240mm Radiator - AM5, LGA 1851 Ready - Dual 120mm ARGB PWM Fans, Black

(21)
$89.99$85.49
FREE delivery Sat, Jan 3