Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #5532
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: problems with exec() |
| Date | 2012-04-15 13:34 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <jmf0r2$6kf$1@dont-email.me> (permalink) |
| References | <9-SdnWmoCP7eZBfSnZ2dnUVZ7q6dnZ2d@giganews.com> <9-SdnWioCP4HZhfSnZ2dnUVZ7q6dnZ2d@giganews.com> |
On 4/15/2012 12:47 PM, 7segment wrote:
> Sorry this was the code I wanted to cite:
>
> $response = exec('ifconfig');
> echo $response;
>
> On Sun, 15 Apr 2012 11:37:23 -0500, 7segment wrote:
>
>> Hi.
>>
>> I have an interesting problem and I cannot figure out what the problem
>> might be.
>>
>> This does not produce any output:
>>
>> $response = exec('ifconfig');
>> echo $response[0];
>>
>> Although when I try other commands, I get a response on the screen. So I
>> don't get what's so special about ifconfig.
>>
>> Could anyone help please?
>>
>> 7segment
>
Do you have permission to run ifconfig? Normally the web server does
not have nearly enough permissions to reconfigure the network adapters
(which is as it should be).
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
problems with exec() 7segment <7segment@nowhere.com> - 2012-04-15 11:37 -0500
Re: problems with exec() 7segment <7segment@nowhere.com> - 2012-04-15 11:47 -0500
Re: problems with exec() Jerry Stuckle <jstucklex@attglobal.net> - 2012-04-15 13:34 -0400
Re: problems with exec() "J.O. Aho" <user@example.net> - 2012-04-15 19:43 +0200
Re: problems with exec() "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-04-16 00:16 +0200
Re: problems with exec() "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-04-16 00:22 +0200
Re: problems with exec() "J.O. Aho" <user@example.net> - 2012-04-16 07:17 +0200
Re: problems with exec() Une Bévue <unbewusstsein@fai.invalid> - 2012-04-16 10:07 +0200
Re: problems with exec() "J.O. Aho" <user@example.net> - 2012-04-16 19:29 +0200
Re: problems with exec() Une Bévue <unbewusstsein@fai.invalid> - 2012-04-18 15:44 +0200
Re: problems with exec() "J.O. Aho" <user@example.net> - 2012-04-18 18:02 +0200
Re: problems with exec() Une Bévue <unbewusstsein@fai.invalid> - 2012-04-18 19:43 +0200
Re: problems with exec() "J.O. Aho" <user@example.net> - 2012-04-18 20:37 +0200
Re: problems with exec() Une Bévue <unbewusstsein@fai.invalid> - 2012-04-18 23:31 +0200
Re: problems with exec() Kim André Akerø <kimandre@nospambetadome.com> - 2012-04-16 13:27 +0200
Re: problems with exec() "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-04-16 14:43 +0200
csiph-web