Re: [PHP] php exec()

2008-11-03 Thread cheesiong
hi ash, i tried you suggestion, with lalala.txt');?> the lalala.txt was created but the file is empty. anymore suggestion? thank you. regards,-keo On Mon, Nov 3, 2008 at 3:29 PM, Ashley Sheridan <[EMAIL PROTECTED]>wrote: > On Mon, 2008-11-03 at 15:21 +0800, cheesiong wr

Re: [PHP] php exec()

2008-11-02 Thread cheesiong
]# /program/php-5.2.6/bin/php-cgi whoami.php X-Powered-By: PHP/5.2.6 Content-type: text/html the result of execwhoami is root can you see the different? regards,-keo On Mon, Nov 3, 2008 at 2:12 PM, cheesiong <[EMAIL PROTECTED]> wrote: > hi Chris, > i did try, > below is the contino

Re: [PHP] php exec()

2008-11-02 Thread cheesiong
?S14:06 0:00 /program/httpd-2.2.9/bin/ so not the user right problem, am i right ? regards,-keo On Mon, Nov 3, 2008 at 1:59 PM, Chris <[EMAIL PROTECTED]> wrote: > cheesiong wrote: > >> hi Chris, >> my linux system is LFS that i build from scratch.

Re: [PHP] php exec()

2008-11-02 Thread cheesiong
<[EMAIL PROTECTED]> wrote: > cheesiong wrote: > >> hi Chris, >> thank you. i change the path and change the httpd.conf LogLevel to debug >> then restart apache. >> but nothing is change from the output or the error log. >> basically it is still not w

Re: [PHP] php exec()

2008-11-02 Thread cheesiong
o 777. should not be a problem. regards,-keo On Mon, Nov 3, 2008 at 1:19 PM, Chris <[EMAIL PROTECTED]> wrote: > cheesiong wrote: > >> hi Chris, >> i change the script to: >> > error_reporting(E_ALL); >> ini_set('display_errors', true); >

Re: [PHP] php exec()

2008-11-02 Thread cheesiong
On Mon, Nov 3, 2008 at 1:03 PM, Chris <[EMAIL PROTECTED]> wrote: > cheesiong wrote: > >> hi Chris, >> thank you. >> it is not working as well. >> i copy the ipkg-cl into /usr/bin >> > > add > > error_reporting(E_ALL); > > and > &

Re: [PHP] php exec()

2008-11-02 Thread cheesiong
hi Chris, thank you. it is not working as well. i copy the ipkg-cl into /usr/bin do i need to set anything in the httpd.conf on the directive? i am running apache-2.2.9. this is code copy from you suggestion: output from browser: Array ( ) output from prompt if i execute on the linux system:

[PHP] Re: php exec()

2008-11-02 Thread cheesiong
i try to use the system() function, i found the the last line of the ifconfig is actually nothing. but i still cannot execute the ipkg-cl program. any idea? thank you. regards,-keo On Mon, Nov 3, 2008 at 11:31 AM, cheesiong <[EMAIL PROTECTED]> wrote: > hi all, > this is the firs

[PHP] php exec()

2008-11-02 Thread cheesiong
hi all, this is the first time i try out the mailing list. i hope to get help from here. thank you. i hope this email can reach the mail group as i use bluecolour.sz to sign on the news group but using bluecolour to do all the emailing. i am facing a problem when i study exec() php function: i t