PHP and Shell
|
2007-08-27, 04:59 PM,
ارسال : #1
|
|||
|
|||
PHP and Shell
سلام
چجوری می شه یه اسکریپت PHP رو به صورت یه پردازنده shell اجرا کرد. مثلا کد : #! /usr/bin/php Registered Linux User #443548 <!-- m --><a class="postlink" href="http://lxsamee.com/">http://lxsamee.com/</a><!-- m --> Follow me in Ohloh http://www.karajlug.org |
|||
2007-08-27, 11:27 PM,
ارسال : #2
|
|||
|
|||
پاسخ: PHP and Shell
اگر در لینوکس هستید بسته php-cli رو باید نصب کنید و شیبنگ هدر مناسب هم
کد : #! /usr/bin/php -q |
|||
|