radhika sambamurti <[EMAIL PROTECTED]> wrote:
: 
: I am trying to include the file ra_require.pl in Alogin.pl - 
: details are below.
: 
: This script is calling a subroutine from the cgi script below
: They are both cgi scripts.
: When I submit my request via a html form (let us call it 
: login.html) - it is supposed to call Alogin.pl, but it is not working.

    It works if you test it from the command line. It is
returning an error:

    ra_require.pl did not return a true value at aa.pl line 7.


    If you don't want it to do that, add "1;" to the end of
ra_require.pl:

        .
        .
        .
:         </table>
:         </body>
:         </html>
: EOF
: }

1;


    For future reference it would be better to tell us
what error you receive rather than "it is not working".
You should also test from the command line as well as
from a browser. If you don't have access to your
server's command line, install perl locally on your
own computer.


HTH,

Charles K. Clarkson
-- 
Head Bottle Washer,
Clarkson Energy Homes, Inc.
Mobile Home Specialists
254 968-8328









-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to