Re: another exec()-ish question

From: Date: Mon, 18 Mar 2002 17:20:29 +0000
Subject: Re: another exec()-ish question
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1587@lists.php.net to get a copy of this message
Just exec() (or system or backticks... I don't remember all the different ways to do it) the file itself... for example, if you want to open a .doc file, just exec the .doc filename and windows will open it with the default viewer. Jared On Mon, 2002-03-18 at 10:00, Michael Dransfield wrote: > does anyone know how to open the default application for an application > type. > > I potentially need to open Word, PDF and maybe excel spreadsheets. > Cross-platform. > > I was going to just use a browser to open the file and hope it will > handle the filetype correctly. Is there another way? (other than > storing the location to every viewer for every filetype) > > > > > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.gtk.general (#1587) next »