|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-05-05 19:11 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 27 22:00:01 2025 UTC |
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.