in reply to Re^3: Unwanted parameter when executing CGI scripts
in thread [SOLVED] Unwanted parameter when executing CGI scripts
Thank you very much for your answer, but I just haven't got it yet. Please forgive me if I'm too stupid, but I think you are testing if the query string's length is >0, and your code only gets executed if this condition is true.
But when calling the script without any parameters, the length of the query string is 0, and that evaluates to false, so the whole line doesn't get executed.
Please correct me if I am wrong.
Regards,
Nocturnus
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Unwanted parameter when executing CGI scripts
by tobyink (Canon) on Jan 05, 2013 at 23:08 UTC | |
by Nocturnus (Scribe) on Jan 07, 2013 at 08:07 UTC |