On Wed, 2003-06-11 at 10:45, Matt Palermo wrote:
> I would just copy the file, but I am not sure how to copy the file and paste
> it in the same folder with a different name.  Any advice you can give for
> that?  Thanks.
> 
> Matt

I may be missing something, but:

  copy('/path/to/origname.txt', '/path/to/newname.txt');

...should do it.


  http://www.php.net/copy



Hope this helps,


Torben


-- 
 Torben Wilson <[EMAIL PROTECTED]>                        +1.604.709.0506
 http://www.thebuttlesschaps.com          http://www.inflatableeye.com
 http://www.hybrid17.com                  http://www.themainonmain.com
 -----==== Boycott Starbucks!  http://www.haidabuckscafe.com ====-----




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to