in reply to Re: Opening a text file
in thread Opening a text file

I know how to open a text file. but my problem is ,as soon as user clicks a button,the perl script has to open a text file(notepad) in client's machine, not in server. It is easy to open a file in server's machine because the code is runing in server. Thank you for the fast response.

Replies are listed 'Best First'.
Re: Re: Opening a text file
by tinita (Parson) on Apr 01, 2004 at 10:40 UTC
    print "Content-Type: text/plain\n\n"; print "the content of your text file here...";
    that should get you going.
    luckily it's not possible to force the client's machine to open notepad; besides that, on my machine there is no notepad.