Re: [PHP] copy problem with HTTP wrapper

2006-01-27 Thread Laurent Vanstaen
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

Re: [PHP] copy problem with HTTP wrapper

2006-01-27 Thread Manuel Lemos
Hello, on 01/27/2006 05:59 AM Laurent Vanstaen said the following: I see your point. Here in my case the server I want to copy a file on has 192.168.1.1 for IP address and thus cannot be found from outside a LAN, so the security problem is not that much important. But I agree with you and see

Re: [PHP] copy problem with HTTP wrapper

2006-01-27 Thread Laurent Vanstaen
Hello, on 01/27/2006 05:59 AM Laurent Vanstaen said the following: I see your point. Here in my case the server I want to copy a file on has 192.168.1.1 for IP address and thus cannot be found from outside a LAN, so the security problem is not that much important. But I agree with you and

Re: [PHP] copy problem with HTTP wrapper

2006-01-27 Thread Manuel Lemos
Hello, on 01/27/2006 11:07 AM Laurent Vanstaen said the following: I see your point. Here in my case the server I want to copy a file on has 192.168.1.1 for IP address and thus cannot be found from outside a LAN, so the security problem is not that much important. But I agree with you and

Re: [PHP] copy problem with HTTP wrapper

2006-01-27 Thread David Grant
Laurent, Laurent Vanstaen wrote: Hello, on 01/27/2006 05:59 AM Laurent Vanstaen said the following: I see your point. Here in my case the server I want to copy a file on has 192.168.1.1 for IP address and thus cannot be found from outside a LAN, so the security problem is not that much

Re: [PHP] copy problem with HTTP wrapper

2006-01-27 Thread Laurent Vanstaen
Laurent Vanstaen wrote: Hello, on 01/27/2006 05:59 AM Laurent Vanstaen said the following: I see your point. Here in my case the server I want to copy a file on has 192.168.1.1 for IP address and thus cannot be found from outside a LAN, so the security problem is not that much

Re: [PHP] copy problem with HTTP wrapper

2006-01-27 Thread Laurent Vanstaen
If so, what makes you think it's writable in the first place? 'Cause I work for this ISP So you don't have specs then I guess, since you're asking in a public forum ! Bingo :) Shitty product bought on the shelf from a third party, no specs, no doc ... Have you considered using a

Re: [PHP] copy problem with HTTP wrapper

2006-01-27 Thread David Grant
Laurent, Laurent Vanstaen wrote: If so, what makes you think it's writable in the first place? 'Cause I work for this ISP So you don't have specs then I guess, since you're asking in a public forum! Have you considered using a HTTP PUT request (using cURL)? php.net/curl $curl =

[PHP] copy problem with HTTP wrapper

2006-01-26 Thread Laurent Vanstaen
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

Re: [PHP] copy problem with HTTP wrapper

2006-01-26 Thread Richard Lynch
On Thu, January 26, 2006 9:28 am, Laurent Vanstaen wrote: 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