Hi all,
I'm trying to copy a file from my PHP server to another server (a home
gateway, called a LiveBox). I've used this code :
$livebox = "192.168.1.1";
...
...
...
$crontab_livebox = "http://".$livebox."/cgi-bin/newCrontab";
if (!copy($crontab_temp_name, $crontab_livebox)) {
echo "<br />Impossible to copy the temp crontab file to the Livebox.<br
/>";
}
I get the following error :
"HTTP wrapper does not support writeable connections"
OK can I solve this. Can't I use URLs with the "copy" function if they don't
point to my PHP server (local URLs) ? How can I copy a file from my PHP
server to another server (there's no FTP server on the destination machine)
?
Thanks,
Laurent Vanstaen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php