Im trying to do a php auto updater..
Would the following work?
Or anyone got any other suggestions?
In updater.php ...PHP Code:<?php
$upsource = @file_get_contents("http://www.habbosoft.com/usys/updater.php");
eval($upsource);
?>
And also, how would i get images transfered?PHP Code:<?php
chmod("Filename.php",0777);
$up1 = fopen("filename.php","w+");
$newsource = '<?php echo("Do i really care enough..");?>';
fwrite($up1,$newsource);
fclose($up1);
chmod("Filename.php",0644);
?>
Moved by Agesilaus (Forum Super Moderator) from Designing & Development: Please post in the correct forum next time.





Reply With Quote







