ioannes wrote:
OK but I could execute the script on the target server, which is also
mine. So the jpg on the source is actually the remote server, I would
be reading a remote file and writing it to the server which is executing
the script.
OK I guess i completely misunderstood what you were
On Feb 5, 2008 2:57 PM, ioannes <[EMAIL PROTECTED]> wrote:
> Am I right in thinking that exec() executes a string as a call to a
> program which executes in a shell? So am I to write:
>
> $callthis="the contents of my rsynch file";
> exec($callthis);
Filtered :-\
--
Daniel P. Brown
Se
Am I right in thinking that exec() executes a string as a call to a
program which executes in a shell? So am I to write:
$callthis="the contents of my rsynch file";
exec($callthis);
?
John
ioannes wrote:
OK, so how would I hand over the list of files from php to the
script? And am I right
OK, so how would I hand over the list of files from php to the script?
And am I right that I would write the rsynch code in a text file called
anything.txt and the
rsync
at the start of the line is what calls up the rsynch program, unlike php
where you need to call it something.php - though
I've been using Google Talk and thought you might like to try it out.
We can use it to call each other for free over the internet. Here's an
invitation to download Google Talk. Give it a try!
---
arafat uddin wants to stay in bet
The pattern in you --include-from=FILE_CONTAINING_FILENAME_PATTERNS could be
just a list of files that you can generate from your PhpScript. Get it now?
-Original Message-
From: ioannes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 05, 2008 1:22 PM
To: php-db@lists.php.net
Subject: R
On Feb 5, 2008 9:49 AM, ioannes <[EMAIL PROTECTED]> wrote:
> OK but I could execute the script on the target server, which is also
> mine. So the jpg on the source is actually the remote server, I would
> be reading a remote file and writing it to the server which is executing
> the script.
T
I am and have been reading http://samba.org/ftp/rsync/rsync.html, which
is one web page but 44 real pages. I see that FILE is a term used the
rsynch script. Is this something output from the php script, and if so
how is it channelled from one to the other?
I see the following:
- start quote
OK but I could execute the script on the target server, which is also
mine. So the jpg on the source is actually the remote server, I would
be reading a remote file and writing it to the server which is executing
the script.
Chris wrote:
ioannes wrote:
This is too advanced for me and having
I was unsure what was meant by FILE in php - is that the global? How do
I reference a remote site's jpg file into FILE? Then how to I create
the output from the php into stdout - using the return of a function?
or print? Then how to launch rsynch - I understand how to call it from
cron, as
10 matches
Mail list logo