![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Oct 2005
Posts: 1
Rep Power: 0
![]() |
executing command line thru pline
i want output as such shown below by exeuting commandline mailstats thru PHP
which function can go for exec,shell command,popen [root@client03 root]# mailstats Statistics from Mon Sep 5 17:55:37 2005 M msgsfr bytes_from msgsto bytes_to msgsrej msgsdis Mailer 4 16 218K 4215 11843K 0 0 esmtp 9 112819 222680K 97741 209539K 0 0 local ============================================================= T 112835 222898K 101956 221382K 0 0 C 94172 15319 0 plz kindly help us ASAP Gopi |
|
|
|
|
|
#2 |
|
Professional Programmer
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 4
![]() |
Do some research, then post your code and we will try to help you the best we can.
|
|
|
|
|
|
#3 |
|
Programming Guru
![]() ![]() ![]() |
What have you tried?
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#4 |
|
Hobbyist Programmer
Join Date: Apr 2004
Location: Texas
Posts: 106
Rep Power: 5
![]() |
http://us3.php.net/popen
http://us2.php.net/manual/en/function.exec.php http://us3.php.net/manual/en/function.shell-exec.php http://www.php.net should be at the top of your bookmark list.
__________________
[ [ SykkN alloc ] initWithThePowerTo: destroyYouAll ]; /* Don't make me use it! */ |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|