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
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
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
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
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
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
-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
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
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
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
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
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 :-)
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
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
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
15 matches
Mail list logo