You are just moving files on a file system from one place to another right?

rename("/old/path/to/file/filename.pdf","/new/path/newfilename.pdf") or die("can't 
move file");

Can't remember what variable/function holds the last error for rename,
otherwise I'd put it there.


On Thu, 14 Nov 2002, Natividad Castro wrote:

> Hi to all,
> I have an Access DB with a table call newchecklist. On this table I have a
> field call PDF where I have many PDFs.
> What I'm trying to do is to move all these PDFs into different folders.
> For example, if I have a folder name VA, so my query will be:
> Once I get these records, I would like to move these PDFs to the VA folder.
> Is there a way to do this?
> Any idea or reference how can I start this, is greatly appreciate.
> Thanks in advance
> Nato
> --
> PHP Database Mailing List (
> To unsubscribe, visit:

Peter Beckman            Systems Engineer, Fairfax Cable Access Corporation
[EMAIL PROTECTED]                   

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to