Re: parse error? how can I print spesific message for all error mesage

From: Date: Tue, 12 Mar 2002 20:32:45 +0000
Subject: Re: parse error? how can I print spesific message for all error mesage
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-88228@lists.php.net to get a copy of this message
if I write directly "localhost/myphp/resmigoster.php" on his browser it response Warning: Undefined index: dir in c:\inetpub\wwwroot\kocak\resimgoster.php on line 1 Warning: Undefined index: res in c:\inetpub\wwwroot\kocak\resimgoster.php on line 3 if I write directly "localhost/myphp/resmigoster.php?dir=main&res=mine" than the script works like mine but I wonder to disable "Warning: Undefined index: dir in c:\inetpub\wwwroot\kocak\resimgoster.php on line 1" response if someone directly enter "localhost/myphp/resmigoster.php" I want to say him that "Access Denied" Or something like that

« previous php.general (#88228) next »