php-windows Digest 26 Jan 2006 04:01:35 -0000 Issue 2872
Topics (messages 26644 through 26646):
Re: exec php.exe in windows
26644 by: Dave Kennedy
26645 by: Dave Kennedy
Windows Pathing Issues
26646 by: Keff Edwards
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
>> Env:
>> Windows XP
>> PHP 4.3.10 (cgi-fcgi)
>>
>> I am trying to capture the html output of Balance.php to a file:
>> The code loops over <month>> and <branch>> to build up a report in
>> export/Balance.html
>>
>> exec('c:\php\php -q Balance.php export=all branch=<branch>>
month=<month>>
>> login=admin password=admin >>>> export/Balance.html');
>>
>> This command works in Linux when called from a web page.
>> In Windows it works from the command line
>> but from a web page it hangs - a cmd and php process are left running
in
>> the Windows Task Manager
>>
>> Any help would be greatly appreciated
>>
>Try using fwrite() ;)
Thanks for your response
Could you be more specific.
Do you have a solution to starting exec('c:\php\php.exe .') from an IIS
HTTP server on Windows XP
--- End Message ---
--- Begin Message ---
>Env: IIS, Windows XP, PHP 4.3.10 (cgi-fcgi)
>exec('c:\php\php -q Balance.php export=all branch=<branch>
month=<month>
>login=admin password=admin >> export/Balance.html');
>This command works in Linux when launched by an HTTP server.
>In Windows it works from the command line but hangs when launched from
an HTTP server
>A cmd and 2 php processes are running in the Windows Task Manager
On Windows, it seems that the php process is waiting for input - maybe
php the arguments are not passed to php?
Is there a way to log or track what the php process is waiting for?
--- End Message ---
--- Begin Message ---
Hi,
I am new to PHP and having an issue that I hope someone can help with...
I have been trying to set up a shopping cart. Cube Cart v3 and osCommerce
to be exact. They almost always install fine but anything that requires a
browsable interface where you look for something located on the server side
is not working. Another example is the Batch-Add files bowsable interface
in Coppermine Photo Gallery. It puts the full drive path in the path box
instead of the path relative to the domain name.
I am running php 5.something. Does anyone have any idea what I am talking
about? Do I need to provide more info?
Keff
--- End Message ---