Location: PHPKode > projects > SCOP Heartbeat Administration interface > scop-2.0/html/scop/config/getrealip1.php
<?
header("Content-type: application/octet-stream");
header("Content-disposition: attachment; filename=ifcfg-eth1");
header("Content-transfer-encoding: binary");
$orig="/etc/sysconfig/network-scripts/ifcfg-eth1";
exec ("sudo chmod 777 $orig");
readfile("$orig");

?>
Return current item: SCOP Heartbeat Administration interface