On 6/8/06, Venky <[EMAIL PROTECTED]> wrote:
Even better... if you want to use GET/POST, and access PHP scripts thru the
web server, it is recommended to use wget very useful tool, supports
http auth, etc.
Regards
Venky
On 08/06/06, Brad Bonkoski <[EMAIL PROTECTED]> wrote:
>
$ php scr
Even better... if you want to use GET/POST, and access PHP scripts thru the
web server, it is recommended to use wget very useful tool, supports
http auth, etc.
Regards
Venky
On 08/06/06, Brad Bonkoski <[EMAIL PROTECTED]> wrote:
$ php script.php
OOzy Pal wrote:
> How can I run a .php
$ php script.php
OOzy Pal wrote:
How can I run a .php script from the command in Linux?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 6/8/06, OOzy Pal <[EMAIL PROTECTED]> wrote:
How can I run a .php script from the command in Linux?
$ php yourscript.php
Rabin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 08/06/06, OOzy Pal <[EMAIL PROTECTED]> wrote:
How can I run a .php script from the command in Linux?
1. run /usr/local/bin/php (or wherever the php binary is, run which php to
find out) scriptname
2. add the hash bang to the start of the script and run it by typing the
scriptname.
--
That should be all you need. Make sure that something isn't re-assigning
those extensions later on in your conf file. Perhaps you changed the
wrong addtype? Liek a commented out one?
-Rasmus
On Fri, 4 Apr 2003, Tom Tsongas wrote:
> Hi folks.
>
> This will probably sound like a stupid question
If you are running PHP as a Module (you should be) try the
http://php.net/virtual function.
If not, you can use exec(), but pass any vars the thing needs:
# Your CGI may be expecting command-line args or flags or...
# I presumed it was URL-style input.
exec("./cgi-bin/txtcounter.cgi?foo=$foo&bar
probably a better idea to spawn a CGI version of your email sending script
than to run it from the client...
that means you'd have to bump max_executio_time way the hell up, which will
affect the rest of your php apps on your server.
_alex
--
Alex Black, Head Monkey
[EMAIL PROTECTED]
The Turi
8 matches
Mail list logo