The -status Argument
The -status Argument
- print header(-status=>'403 Forbidden');
- Generates a "you are not authorized to access this page" message.
- print header( -status=>'401 Authentication required', '-auth-type'=>'Basic' );
- Browser puts up user name & password dialog.