PHP Fatal error does not result in HTTP error code 500. When PHP code throws a Fatal error, I would expect Apache to respond with HTTP 500, not a 200?
You should look into using the .htaccess file to control which responses you want your server to perform.
Answered by: Davey C
ASK A QUESTION
More functions PHP QuestionsI have used the funtion Rate (code below) and i have some troubles with it. When i use it with the following values: (Wrong) Excel - RATE(228;-196,02;-49005;961546,464646;1;0,05) gives: 0,0119 Php - RATE(228,-196.02,-49005,961546.464646,1,0.05) gives
I'm trying to replace multipl occurences of "[nuber_goes_here]" in a string using preg_replace. $string = 'This is a sentence with a  in it.'; echo $string.''; $pattern = '/(\[)(\d+)(\])/'; $replacement = ' '.return_name(
Can we use include ("abc.php") two times in PHP page "makeit.php" ?
What is a static variable within a function?
What is a function?