Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

CGI syntax checking

  • 01-02-2006 9:48am
    #1
    Registered Users, Registered Users 2 Posts: 16,890 ✭✭✭✭


    Im attempting to write a basic cgi to C - R - U - D with a database. I just want to check its syntax as its not working fully. at the console i get this error

    perl -c db_ClubCGI.cgi

    Too late for "-T" option at db_ClubCGI.cgi line 1.

    can anyone help??

    thanks


Comments

  • Registered Users, Registered Users 2 Posts: 2,426 ✭✭✭ressem


    -T is the taint option used to mark input to the script as untrusted.

    When running from the command line, you need to run as
    perl -Tc db_ClubCGI.cgi


    I think that you might have to remove the -T from the first line of the cgi script. Not sure though.
    Should look like
    #!/usr/bin/perl

    When running from the web server, the -T must be added to the script line.


Advertisement