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
Comment on this Question and Answer >>>
ASK A QUESTION
More functions PHP Questions
I'm trying to replace multipl occurences of "[nuber_goes_here]" in a string using preg_replace. $string = 'This is a sentence with a [25] in it.'; echo $string.''; $pattern = '/(\[)(\d+)(\])/'; $replacement = ' '.return_name(When running a php script, is it possible to have it pull from one txt. file and then a 2nd txt. file?
Hey, I need a php script to copy a complete directory to a new one (which is a variable). i.e www.webpage.com/example/ --> www.webpage.com/folder_just_created/. I've looked for hours Kurt
What is a function?
