auto_prepend_file

Yarden

Verified User
Joined
Nov 14, 2008
Messages
45
behezrat hashem

helloooooo

i have a "auto_prepend_file ", its Automatically add files before or after any PHP document.

when the included file don't exits (404 error), it's type a error and kill the page!

how can i do when the included file don't exits that will don't write error and dont kill the pages???
 
Prepending "@" to any function prevents it from sending any error to the web client.
It doesn't do anything to the "options" (whatever that is) and it's completely different from ";" which is an instruction termination.

If you want to do something more reliable read this: http://php.net/errorfunc.
 
Prepending "@" to any function prevents it from sending any error to the web client.
It doesn't do anything to the "options" (whatever that is) and it's completely different from ";" which is an instruction termination.

If you want to do something more reliable read this: http://php.net/errorfunc.

i know, but it's not a PHP! it's httpd.conf...

@auto_prepend_file = ...........

it's like

;auto_prepend_file =
 
Back
Top