Re: [PHP] Asking Sth about PHP

2001-02-22 Thread Toby Butzon
You can also use PHP for shell scripting - just add #!/path/to/php -q as the first line of your script. Note: You will still need to enclose all PHP scripting in tags. Here's an example: file: phpinfo.phpshell The preceding information was returned by PHP info. [EOF] Then run the followi

Re: [PHP] Asking Sth about PHP

2001-02-20 Thread Michael Stearne
You can run php from the command line as a standalone app. Compole PHP as a stand-alone CGI program (read the INSTALL file) and then run it like: localhost$ /path/to/php -f myFile.php Or you can also run it withing a shell or perl script the same way (maybe through a system() call in perl) Mic

[PHP] Asking Sth about PHP

2001-02-20 Thread Ng Chun Chi
Dear Sir, I have two problems in using PHP. Could you help me? I am using Red-Hat to build up my System. Could I use Perl to control some PHP program? Also, could I run my PHP program in Linux Console? Sorry to disturb you THx! Mr Ng -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] Asking Sth about PHP

2001-02-10 Thread Richard Lynch
> I have two problems in using PHP. Could you help me? > I am using Red-Hat to build up my System. Could I use Perl to control some PHP program? Also, could I run my PHP program in Linux Console? You'll probably need to compile PHP from source to get a CGI (standalone) binary. It's actually

RE: [PHP] Asking Sth about PHP

2001-02-10 Thread PHPBeginner.com
PROTECTED] Subject: [PHP] Asking Sth about PHP Dear Sir, I have two problems in using PHP. Could you help me? I am using Red-Hat to build up my System. Could I use Perl to control some PHP program? Also, could I run my PHP program in Linux Console? Sorry to disturb you THx

[PHP] Asking Sth about PHP

2001-02-09 Thread kn4279
Dear Sir, I have two problems in using PHP. Could you help me? I am using Red-Hat to build up my System. Could I use Perl to control some PHP program? Also, could I run my PHP program in Linux Console? Sorry to disturb you THx! Kevin Ng ===