in reply to somethign wrong with the sumbit

You are asking why param('select') =~ /\0/ is always false

Replies are listed 'Best First'.
Re^2: somethign wrong with the sumbit
by Nik (Initiate) on Dec 29, 2007 at 12:57 UTC
    I don't understand what you try to tell me

    I believe iam asking if the submitted user selection from the drop down list contains the null string....and if yes iam printing a custom error message.

    That can happen because sometimes people instead of making a selection from the drop down menu they pass values to variable $select from the url like this: http://nikos.no-ip.org/cgi-bin/index.pl?select=../somefilename.ext or attach a null string to attempt to hack the page.

      and ELSE you get the backwards error... you need rest
        well yes iam aware of that, because i didnt knew how to check for the existense of a backwards error.

        I mean in the null byte string iam testing against the null string, in the backwards error test what? if the submitted param contains slashes and dots?

        Apart from that you didnt point to me whats wrong with the if structure that you say its always false.

          A reply falls below the community's threshold of quality. You may see it by logging in.