in reply to File Copy with Array
You say you checked the existance of $GraphicsDirectory - are you sure the source is the problem? Could it be that the non-existant part is $pparent/$path/images/$line?
Can you put a statement like
in your loop and see if it returns reasonable values?print "<$GraphicsDirectory><$line><$pparent/$path/images/$line>\n";
The < and > are there so you can tell if any of the values are empty and where each variable begins and ends.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: File Copy with Array
by NaomiG (Initiate) on Apr 14, 2004 at 20:17 UTC |