Re: PATH to PHP.EXE
| From: | fire at firepages dot org | Date: | Wed, 27 Mar 2002 21:02:18 +0000 |
| Subject: | Re: PATH to PHP.EXE | ||
| References: | 1 2 3 4 5 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-1658@lists.php.net to get a copy of this message | ||
$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 :))
Regards
Simon Wheeler.
----- Original Message -----
From: "Markus Fischer" <mfischer@guru.josefine.at>
To: <fire@firepages.org>
Cc: "PHP-GTK" <php-gtk-general@lists.php.net>
Sent: Tuesday, March 26, 2002 9:32 AM
Subject: Re: [PHP-GTK] PATH to PHP.EXE
> $argv[0]
>
> On Wed, Mar 27, 2002 at 12:12:01AM -0800, fire@firepages.org wrote :
> > How can I find the path to php.exe ? -
> > at the moment I am passing it as a command line argument & this works
for my
> > poipoises,
> > for some reason I just assumed that there was a var knocking around with
the
> > path to the
> > currently running php.exe ....
> >
> > any ideas ?
> >
> > Regards,
> > Simon Wheeler
> >
> >
> >
> > --
> > PHP-GTK General Mailing List (http://gtk.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> Please always Cc to me when replying to me on the lists.
> GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>