What puzzles me is that one path must be absolute and the other relative to the root. And, I've got chdir to the
destination dir.
I know about ftp having its own root. In my code, I have a check to make certain the ftp root is the same as the
$_SERVER[document_root].
Richard Lynch wrote:
O
On Thu, May 24, 2007 2:37 pm, Al wrote:
> Can anyone explain what's going on.
>
> If I assign $source= $source_dir . $file;
> $source_dir is the absolute path i.e.,
> /home/x/public_html/EditPage/
>
> And $dist= $dist_dir . $file;
> $dist_dir is simply relative to $_SERVER[document_root]; i.e
2 matches
Mail list logo