in reply to I'm getting an error using error()

This looks like the script out of the ORA CGI book. Your problem is that the error() sub is missing. You need to define this sub. This is the sub out of the book which looks like it should fit.

sub error { my( $q, $reason ) = @_; print $q->header( "text/html" ), $q->start_html( "Error" ), $q->h1( "Error" ), $q->p( "Your upload was not procesed because the following e +rror ", "occured: " ), $q->p( $q->i( $reason ) ), $q->end_html; exit; }

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Replies are listed 'Best First'.
Re: Re: I'm getting an error using error()
by Kiko (Scribe) on Aug 08, 2001 at 19:47 UTC
    That did it. Thanks for your help.