Home  |  Linux  | Mysql  | PHP  | XML
From:Lynn Etheredge Date:Fri Apr 25 11:09:43 2008
Subject:Re: Opening a File in its Native Application
Hi,
I would like to create a button on a web page that opens a file in it's application (ie. open a scientific file in it's native application).  My file does not have an extension and so I think it probably will not open automatically with the system("start docname") command. 
Thank you,
Lynn



----- Original Message ----
From: Owen <rcook@pcug.org.au>
To: beginners-cgi@perl.org
Sent: Wednesday, April 23, 2008 11:11:37 PM
Subject: Re: Opening a File in its Native Application

On Wed, 23 Apr 2008 17:34:25 -0700 (PDT)
Lynn Etheredge <etheredge_lynn@yahoo.com> wrote:

> Hi,
> 
> I would like to open a file in it's native application.  It doesn't have a specified extension, however, so I would need to specify the application somehow.  I saw 
> 
> system("start docname")
> 
> but this doesn't specify the application.  



I am not sure what you really want to do. 

As this is a 'cgi' list I presume you want to open up a file so it can be read on the web

And that file might be a MS "Word" document, in which case there may well be a perl module that reads Word documents

So could you elaborate a little more perhaps?



Owen




-- 
To unsubscribe, e-mail: beginners-cgi-unsubscribe@perl.org
For additional commands, e-mail: beginners-cgi-help@perl.org
http://learn.perl.org/


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Navigate in group perl.beginners.cgi at sever nntp.perl.org
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants