At the risk of repeating what I have already posted in another forum(!!): I actually always intended to validate the input (and have since). The input has to be of a certain length and contain only certain (alphanumeric) characters. Also the input is not really the file name - it is then mashed...
It was desperation and frustration - but the strategy worked! (5 forums)
The error given is "Insecure dependency in unlink while running with -T switch at dfl.pl line 42", which I solved by removing the -T switch! I didn't realise these error messages were generated on the server log and not in...
Unfortunately I have got no further. I am working on a Macintosh computer, but uploading the scripts to my website and running them via my browser address bar.
So to run tester.pl in safari (browser) I type www.mydomain.com/.../tester.pl
This is what I have used (based on what you said)...
I have been trying to delete a file using a script and it is refusing to go. (I have very little experience of Perl). One script creates the temporary file (empty) and later another is to delete it.
The url passes a parameter to the script:
e.g. dfile.pl?f=abcde
The filename f obviously varies...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.