Code: Select all
/usr/local/bin/wget -N -q -P public_html http://www.site.com/stage/index.phpwithout going to Putty and running manually.
Is there a way to execute this from a browser? Thanks.
Moderator: General Moderators
Code: Select all
/usr/local/bin/wget -N -q -P public_html http://www.site.com/stage/index.phpCode: Select all
<?PHP
$command = "/usr/local/bin/wget -N -q -P public_html http://www.site.com/stage/index.php";
shell_exec($command);
?>