I had an old set of codes from another developer, and I configure it on my server, there I saw a line
<?php @$Days = $_POST['Days']; ?>
This code works well on my local setup, but as soon as I uploaded it to the server, it didnβt work and returned a network error, and all the / HTML code after this code also didnβt work.
Although I debugged this problem and removed it. In addition, I know that we use the @ symbol to handle errors, and I also read this question
My request is that there was an error in the above case, why it was not shown, if I want to check the error, then what should I do.
For error reporting, I will tell you that I have already used the code below
<?php ini_set("display_errors", "1"); error_reporting(E_ALL); ?>
So, please tell me why my code could not get past this statement, since I have about 100 such blocks of code. Are there any settings in php that could help me overcome this.
source share