[PHP-WIN] Re: possible bug or ?

2002-04-28 Thread George Nicolae
dear "webmaster", you have a wonderful language ;) but please, for us who don't read Spinoza in original, write in English. -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "Webmaster" <[EMAIL PROTECTED]> wrote in messag

[PHP-WIN] translation :-)

2002-04-28 Thread Erik
hi, well the webmaster said the prolem is windows 2000 itself and that i have to edit my php.ini file with this rules cgi_fore_redirect = 0 //already there this one cgi.redirect_status_env ENV_VAR_NAME that's all "George Nicolae" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTE

[PHP-WIN] Re: possible bug or ?

2002-04-28 Thread Webmaster
If you had read the whole answer I gave, you would have found the English translation below the Dutch explanation ! Webmaster "George Nicolae" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > dear "webmaster", > you have a wonderful language ;) but please, f

php-windows Digest 28 Apr 2002 13:11:05 -0000 Issue 1116

2002-04-28 Thread php-windows-digest-help
php-windows Digest 28 Apr 2002 13:11:05 - Issue 1116 Topics (messages 13362 through 13366): Re: executing an external program 13362 by: Webmaster Re: possible bug or ? 13363 by: Webmaster 13364 by: George Nicolae 13366 by: Webmaster translation :-)

[PHP-WIN] PHP Command Line Syntax

2002-04-28 Thread Scott Dowd
I would like to schedule a series of PHP pages to run overnight from a Win2k/IIS/PHP4 box. An example of the url is http://localhost/checklist/checksingle.php?servername=SERVERNAME. When I try to execute this from a DOS prompt, "C:\PHP\PHP.EXE -q checksingle.php" it works fine, but when I add "?se

RE: [PHP-WIN] PHP Command Line Syntax

2002-04-28 Thread Stuart Dallas
Set the environment variable QUERY_STRING prior to running PHP... set QUERY_STRING=servername=SERVERNAME c:\php\php.exe -q checksingle.php HTH, Stuart -Original Message- From: Scott Dowd [mailto:[EMAIL PROTECTED]] Sent: 28 April 2002 12:32 To: [EMAIL PROTECTED] Subject: [PHP-WIN] PHP Co

[PHP-WIN] Re: PHP Command Line Syntax

2002-04-28 Thread Advanced
CRON "Scott Dowd" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I would like to schedule a series of PHP pages to run overnight from a > Win2k/IIS/PHP4 box. An example of the url is > http://localhost/checklist/checksingle.php?servername=SERVERNAME. When I tr

RE: [PHP-WIN] PHP Command Line Syntax

2002-04-28 Thread Steve Cook
If you're running from the command line, you can use standard command line arguments. In the file they'll be entered into the array $argv[]. $argv[0] is the name of the script called, and each other argument is consecutively numbered. For example the file test.php: running: c:\php\php.exe -q

Re: [PHP-WIN] Re: PHP Command Line Syntax

2002-04-28 Thread David Elliott
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greetings Wayne On 28 April 2002 at 16:51:24 -0400 (which was 21:51 where I live) Wayne Fraser might have written WF> I will reiterate WF> CRON CRON CRON WF> I use a version of cron compiled to run on

RE: [PHP-WIN] Re: executing an external program

2002-04-28 Thread Ross Fleming
Yes that will indeed run winword on the client machine. Using exec() will run winword on the host machine, which is what I believe Rainer wishes to do. However, it's documented somewhere that the exec() family of functions can't work very well with programs with a GUI, only command line prog

RE: [PHP-WIN] Re: executing an external program

2002-04-28 Thread Ross Fleming
OK, I've just found a way to do it (in the comments for exec() on the php webpage), however I DON'T know if it will work on Win2000, I'll let you try, it works on win98 anyway: NUL"); ?> This opens winword and keeps it running and completes the web page too. If this doesn't work in win2K, maybe

Re: [PHP-WIN] Re: executing an external program

2002-04-28 Thread RoboTeddy
For win 2k/xp: NUL"); ?> Ted - Original Message - From: "Ross Fleming" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "PHP Windows mailing list" <[EMAIL PROTECTED]> Sent: Sunday, April 28, 2002 7:32 PM Subject: RE: [PHP-WIN] Re: executing an external program > OK, I've just found a way to

php-windows Digest 29 Apr 2002 01:38:58 -0000 Issue 1117

2002-04-28 Thread php-windows-digest-help
php-windows Digest 29 Apr 2002 01:38:58 - Issue 1117 Topics (messages 13367 through 13374): PHP Command Line Syntax 13367 by: Scott Dowd 13368 by: Advanced 13369 by: Stuart Dallas 13370 by: Steve Cook 13371 by: David Elliott Re: executing an external

[PHP-WIN] Running winamp thru php (was "executing an external program")

2002-04-28 Thread Ross Fleming
Since giving Ranier advice on external programs, I've knocked up a simple web-based interface for winamp that can be controlled over the internet (useful in a networked flat where one PC is simply a music box, I can leave apache running and remove the monitor/keyboard etc just to leave the box and

RE: [PHP-WIN] Running winamp thru php (was "executing an external program")

2002-04-28 Thread Ross Fleming
Apparently this doesn't work on win2k though, and replacing the line with exec("CMD /C START c:\progra~1\winamp\winamp.exe \"$link\" >NUL"); I'm told doesn't seem to work. If anyone has suggestions, I'm open R -Original Message- From: Ross Fleming [mailto:[EMAIL PROTECTED]] Sent: 29 A