#44919 [Opn->Bgs]: works in command line but not in browser
| From: | derick@php.net | Date: | Mon, 05 May 2008 19:11:31 +0000 |
| Subject: | #44919 [Opn->Bgs]: works in command line but not in browser | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-124732@lists.php.net to get a copy of this message | ||
ID: 44919
Updated by: derick@php.net
Reported By: chris at p5nettrain dot com
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Fedora Core 1
PHP Version: 4.4.8
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Most likely due to permissions.
Previous Comments:
------------------------------------------------------------------------
[2008-05-05 16:50:44] chris at p5nettrain dot com
Description:
------------
I am writing a script to change an interface's IP address. When I run
the following script:
<?php
system('ifconfig eth0 192.168.1.10 netmask 255.255.255.0');
system('ifconfig eth0');
?>
In the command line, it works. But when I go to my web browser (either
Firefox or Internet Explorer) it doesn't change the ip address - it does
execute the second system command.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44919&edit=1