[kronolith] reminder
Jie Gao
J.Gao at isu.usyd.edu.au
Wed Sep 14 15:02:34 PDT 2005
On Wed, 14 Sep 2005, Jan Schneider wrote:
> Date: Wed, 14 Sep 2005 10:21:06 +0200
> From: Jan Schneider <jan at horde.org>
> To: kronolith at lists.horde.org
> Subject: Re: [kronolith] reminder
>
> Zitat von Jie Gao <J.Gao at isu.usyd.edu.au>:
>
> >> php -v
> > PHP 4.4.0 (cli) (built: Sep 14 2005 13:44:31)
> > Copyright (c) 1997-2004 The PHP Group
> > Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
> >
> > Nothing returns from this command:
> >
> > php -r "echo 'hello'";
>
> Then you have worse problems than the reminder script.
But the following work:
#!/usr/bin/php -q
<?php
echo "Hello World with PHP CLI";
?>
#!/usr/bin/php -q
<?php
echo "Test Read Arguements:\n\n";
echo $_SERVER["argc"];
echo "\n";
echo $_SERVER["argv"][0];
?>
Any idea why?
Thanks,
Jie
More information about the kronolith
mailing list