Richard Lynch wrote:
On Sat, October 14, 2006 4:09 am, Stut wrote:
Richard: AFAIK there is no way to know this under windows without
writing an extension to tell you.
Sounds like you actually know how to do this... :-)
Would such an extension be cross-platform to all PHP installs, or
Windows-
On Mon, October 16, 2006 4:41 pm, Roman Neuhauser wrote:
> Just a thought: var_dump(ini_get('register_argc_argv')) ?
I should have been more clear
If/when there are any $args, then $argc/$argv are set:
$ /cygdrive/c/php5.1.1/php.exe -q argv.php
array(1) {
[0]=>
string(8) "argv.php"
}
C:\
On Sat, October 14, 2006 4:09 am, Stut wrote:
> Richard: AFAIK there is no way to know this under windows without
> writing an extension to tell you.
Sounds like you actually know how to do this... :-)
Would such an extension be cross-platform to all PHP installs, or
Windows-only?
And is this so
On Mon, October 16, 2006 9:04 am, Jochem Maas wrote:
> 2. try making use of the $_ENV['PHP_PEAR_PHP_BIN'] value which should
> be
> configured if pear is installed properly. (it's there in my local
> setup
C:\Documents and Settings\rlynch>C:\php5.1.1\php.exe -a
Interactive mode enabled
Notice:
# [EMAIL PROTECTED] / 2006-10-16 14:28:41 -0500:
> On Fri, October 13, 2006 7:44 pm, Roman Neuhauser wrote:
> > # [EMAIL PROTECTED] / 2006-10-13 13:53:56 -0500:
> >> So, I have this automated testing script I wrote, and I want to make
> >> it work on more than just my computer.
> >>
> >> In cygwin,
On Fri, October 13, 2006 8:14 pm, Ed Lazor wrote:
> Not a solution, but an idea... the dos chdir comand. Maybe you can
> run it from within your script. It tells you the current working
> directory and you end up indirectly knowing the location of the
> php.exe that you're using.
The test script
On Fri, October 13, 2006 7:44 pm, Roman Neuhauser wrote:
> # [EMAIL PROTECTED] / 2006-10-13 13:53:56 -0500:
>> So, I have this automated testing script I wrote, and I want to make
>> it work on more than just my computer.
>>
>> In cygwin, and in Linux, EVN['_'] has the nice path to the binary
>> CL
Richard Lynch wrote:
> So, I have this automated testing script I wrote, and I want to make
> it work on more than just my computer.
>
> In cygwin, and in Linux, EVN['_'] has the nice path to the binary CLI
> which is running -- which I call again in a backticks for each test
> script in turn, to
On Oct 14, 2006, at 2:09 AM, Stut wrote:
Unfortunately there's no guarantee that a) the working directory
will be where the PHP binary is, or b) that the binary is called
php.exe.
Richard: AFAIK there is no way to know this under windows without
writing an extension to tell you.
-Stut
Ed Lazor wrote:
On Oct 13, 2006, at 11:53 AM, Richard Lynch wrote:
In windows... There ain't nothing in phpinfo() that matches the
php.exe which I'm running...
How do you handle this?
Not a solution, but an idea... the dos chdir comand. Maybe you can run
it from within your script. It tel
On Oct 13, 2006, at 11:53 AM, Richard Lynch wrote:
So, I have this automated testing script I wrote, and I want to make
it work on more than just my computer.
In cygwin, and in Linux, EVN['_'] has the nice path to the binary CLI
which is running -- which I call again in a backticks for each te
# [EMAIL PROTECTED] / 2006-10-13 13:53:56 -0500:
> So, I have this automated testing script I wrote, and I want to make
> it work on more than just my computer.
>
> In cygwin, and in Linux, EVN['_'] has the nice path to the binary CLI
> which is running -- which I call again in a backticks for eac
So, I have this automated testing script I wrote, and I want to make
it work on more than just my computer.
In cygwin, and in Linux, EVN['_'] has the nice path to the binary CLI
which is running -- which I call again in a backticks for each test
script in turn, to provide a consistent starting poi
13 matches
Mail list logo