Re: PATH to PHP.EXE

From: Date: Wed, 27 Mar 2002 05:35:48 +0000
Subject: Re: PATH to PHP.EXE
References: 1 2 3 4 5 6  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1659@lists.php.net to get a copy of this message
On Wed, Mar 27, 2002 at 01:02:18PM -0800, fire@firepages.org wrote : > $argv[0] gives me the name of the currently running script not the path to > php.exe, I currently add the path as an argument and grab it from $argv[1] I > was just assuming it would be available more easily ? (the command line is > getting longer and longer :)) dirname($argv[0]); // ? -- Please always Cc to me when replying to me on the lists. GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc

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