Syntactic Confectionery Delight | |
PerlMonks |
Re: Show Unix Talk?by sauoq (Abbot) |
on Oct 25, 2002 at 00:51 UTC ( [id://207884]=note: print w/replies, xml ) | Need Help?? |
I think ya get what I'm asking, any help would be great, thanks! Yes, I think I get what you are asking but rather than just answering I have to suggest that you rethink why you are asking. There is almost never a good reason to allow arbitrary commands to be run via a CGI application. At best it is error prone and at worst it is a serious security hole. It is very unlikely that you really need to turn your browser into a shell prompt. But if you insist on shooting yourself in the foot, use backticks. Update: Given that the title of your node suggests that you might want to write a CGI interface to the unix talk(1) command, I thought I should point out that it won't be easy. You'd be better off writing your own talk client and even then it would be pretty horrid. By design, the web is stateless. Talk, on the other hand, is not. You'd have to keep a process running server for each talk session. One way or the other, you would end up with a pretty nasty design. -sauoq "My two cents aren't worth a dime.";
In Section
Seekers of Perl Wisdom
|
|