I also tried using -T (taint) after the shebang line but then I just get 500 Internal error - any idea why?
Your script attempts to write tainted data to the filesystem. Running in taint mode protects you from doing this which is a very good reason to run in taint mode. See your web server's error log for more detail.
Update: As in the replies, there is no reason why your script as posted would not run under taint mode. I too have just tried it and it works fine.
🦛
In reply to Re^6: Any security holes?
by hippo
in thread Any security holes?
by Limbomusic
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |