Re: copy *.* troubles
| From: | Jason Wong | Date: | Sun, 16 Feb 2003 17:59:43 +0000 |
| Subject: | Re: copy *.* troubles | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-135758@lists.php.net to get a copy of this message | ||
On Sunday 16 February 2003 23:48, Malcolm wrote:
> I'm having trouble with copy. I have this script that I got from php.net
> but I can't figure out how to set the path. Right now it doesn't complain
> but no files are copied. I'm trying to use a dynamically set directory to
> do this, I have included ml_config to make the vars available. That's why
> the $listname in the to_path. I want all the files from /maillist to got to
> /$listname, I've tried all kinds of slashes, dots and anything else but I
> can't seem to copy any files.
Are you using full paths? Does the directory 'maillist' reside in the root
directory? If not, try using full paths.
> It echos files copied at the end but it
> lies.
I doubt whether PHP is clever enough to lie. It's only doing what you told it
to do.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
We're on Token Ring, and it looks like the token got loose.
*/