Gossamer Forum
Home : Products : DBMan : Discussions :

system command

Quote Reply
system command
I'm trying to use a system () command on a file that has just been uploaded (using the file upload mod) but am having difficulty finding where to place it. Anyone know?

Quote Reply
Re: system command In reply to
I would recommend not using the system call in public scripts...read the replies that Mark and Alex posted in the NSLOOKUP thread in the Perl/CGI forum a few weeks ago...using the system call within public scripts is a major security risk.

I would recommend using File:: or other Perl modules to accomplish whatever you want.

Regards,

Eliot Lee

Quote Reply
Re: system command In reply to
OK thanks for that. Would you know where to place the command executing the pm within the file upload mod?

Quote Reply
Re: system command In reply to
What are you trying to do?

Regards,

Eliot Lee

Quote Reply
Re: system command In reply to
Thumbnail images as they are uploaded using jpgtn.