Re: [PHP] path to php

2001-08-26 Thread David Robley

On Sun, 26 Aug 2001 22:05, ReDucTor wrote:
> they don't give shell access without contacting them, and they don't
> reply to emails
> - Original Message -
> From: "ReDucTor" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Thursday, August 23, 2001 12:48 PM
> Subject: Re: [PHP] path to php
>
> > >Have you tried which php or locate php?
> >
> > what do you mean?
> >
> > no shell acces, that requires contacting them to get, which they
> > don't
>
> read
>
> > the emails :D
> >
> >   - James "ReDucTor" Mitchell
> > - Original Message -
> > From: "David Robley" <[EMAIL PROTECTED]>
> > To: "ReDucTor" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> > Sent: Thursday, August 23, 2001 12:20 PM
> > Subject: Re: [PHP] path to php
> >
> > > On Thu, 23 Aug 2001 11:05, ReDucTor wrote:
> > > > does anyone know all the possible paths to php...because i can't
> > > > seem to find it on my current host...i have tried using the
> > > > following
> > > >
> > > > php /path/to/script.php
> > > > /usr/php /path/to/script.php
> > > > /usr/local/bin/php /path/to/script.php
> > > > /usr/bin/php /path/to/script.php
> > > >
> > > > but i still can't seem to get it to work with out it saying that
> > > > it can't find the path to php...any one got any ideas?!?
> > > >
> > > > btw. i know php is on it..
> > > >
> > > > I have tried contacting them, but they don't seem to want to
> > > > reply...
> > >
> > > Have you tried which php or locate php? If you don't have shell
> > > access you'll have to fiddle around with backticks or whichever of
> > > system() and friends is appropriate.
> > >

Yeah, well like I said, if you don't have shell access, use system() or 
backticks or something from a php script.

-- 
David Robley  Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES  Flinders University, SOUTH AUSTRALIA  

   DOS Tip #63: add BUGS=OFF to CONFIG.SYS

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] path to php

2001-08-26 Thread ReDucTor

they don't give shell access without contacting them, and they don't reply
to emails
- Original Message -
From: "ReDucTor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, August 23, 2001 12:48 PM
Subject: Re: [PHP] path to php


> >Have you tried which php or locate php?
> what do you mean?
>
> no shell acces, that requires contacting them to get, which they don't
read
> the emails :D
>
>   - James "ReDucTor" Mitchell
> - Original Message -
> From: "David Robley" <[EMAIL PROTECTED]>
> To: "ReDucTor" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Thursday, August 23, 2001 12:20 PM
> Subject: Re: [PHP] path to php
>
>
> > On Thu, 23 Aug 2001 11:05, ReDucTor wrote:
> > > does anyone know all the possible paths to php...because i can't seem
> > > to find it on my current host...i have tried using the following
> > >
> > > php /path/to/script.php
> > > /usr/php /path/to/script.php
> > > /usr/local/bin/php /path/to/script.php
> > > /usr/bin/php /path/to/script.php
> > >
> > > but i still can't seem to get it to work with out it saying that it
> > > can't find the path to php...any one got any ideas?!?
> > >
> > > btw. i know php is on it..
> > >
> > > I have tried contacting them, but they don't seem to want to reply...
> >
> > Have you tried which php or locate php? If you don't have shell access
> > you'll have to fiddle around with backticks or whichever of system() and
> > friends is appropriate.
> >
> > --
> > David Robley  Techno-JoaT, Web Maintainer, Mail List Admin, etc
> > CENTRE FOR INJURY STUDIES  Flinders University, SOUTH AUSTRALIA
> >
> >Electricity was invented by rubbing cats backwards!
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] path to php

2001-08-26 Thread ReDucTor

>Have you tried which php or locate php?
what do you mean?

no shell acces, that requires contacting them to get, which they don't read
the emails :D

  - James "ReDucTor" Mitchell
- Original Message -
From: "David Robley" <[EMAIL PROTECTED]>
To: "ReDucTor" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, August 23, 2001 12:20 PM
Subject: Re: [PHP] path to php


> On Thu, 23 Aug 2001 11:05, ReDucTor wrote:
> > does anyone know all the possible paths to php...because i can't seem
> > to find it on my current host...i have tried using the following
> >
> > php /path/to/script.php
> > /usr/php /path/to/script.php
> > /usr/local/bin/php /path/to/script.php
> > /usr/bin/php /path/to/script.php
> >
> > but i still can't seem to get it to work with out it saying that it
> > can't find the path to php...any one got any ideas?!?
> >
> > btw. i know php is on it..
> >
> > I have tried contacting them, but they don't seem to want to reply...
>
> Have you tried which php or locate php? If you don't have shell access
> you'll have to fiddle around with backticks or whichever of system() and
> friends is appropriate.
>
> --
> David Robley  Techno-JoaT, Web Maintainer, Mail List Admin, etc
> CENTRE FOR INJURY STUDIES  Flinders University, SOUTH AUSTRALIA
>
>Electricity was invented by rubbing cats backwards!
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] path to php

2001-08-24 Thread Chris Hayes

look for 
HTTP_ENV_VARS["SCRIPT_FILENAME"]
it may show up when you ask for it and for sure in the list the phpinfo() results in.



Chris


Van:"ReDucTor" <[EMAIL PROTECTED]>
Aan:<[EMAIL PROTECTED]>
Datum verz. Thu, 23 Aug 2001 11:35:00 +1000
Onderwerp:  [PHP] path to php

> does anyone know all the possible paths to php...because i can't seem to find
> it on my current host...i have tried using the following
> 
> php /path/to/script.php
> /usr/php /path/to/script.php
> /usr/local/bin/php /path/to/script.php
> /usr/bin/php /path/to/script.php
> 
> but i still can't seem to get it to work with out it saying that it can't
> find the path to php...any one got any ideas?!?
> 
> btw. i know php is on it..
> 
> I have tried contacting them, but they don't seem to want to reply...
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 




--  C.Hayes  Droevendaal 35  6708 PB Wageningen  the Netherlands  --


 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] path to php

2001-08-22 Thread David Robley

On Thu, 23 Aug 2001 11:05, ReDucTor wrote:
> does anyone know all the possible paths to php...because i can't seem
> to find it on my current host...i have tried using the following
>
> php /path/to/script.php
> /usr/php /path/to/script.php
> /usr/local/bin/php /path/to/script.php
> /usr/bin/php /path/to/script.php
>
> but i still can't seem to get it to work with out it saying that it
> can't find the path to php...any one got any ideas?!?
>
> btw. i know php is on it..
>
> I have tried contacting them, but they don't seem to want to reply...

Have you tried which php or locate php? If you don't have shell access 
you'll have to fiddle around with backticks or whichever of system() and 
friends is appropriate.

-- 
David Robley  Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES  Flinders University, SOUTH AUSTRALIA  

   Electricity was invented by rubbing cats backwards!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]