perl CGI full path to file for upload
Hello.
I've written a cgi script to read in a user's filename for upload. Here is the scripts body: Code:
#!/usr/bin/perl -w Is there anyway to get the full path the file? Thanks. |
If I understand you correctly, the client (browser) has specified a full path as the filespec for the upload, but the server CGI only see the filename. I think this should be considered correct behavior. No client should have the ability to write to arbitrary locations in the filesystem.
--- rod. |
All times are GMT -5. The time now is 08:47 AM. |