Re: PHP - Renaming Files
by "Rajnish Bhaskar" <r.bhaskar(at)compserv.gla.ac.uk>
|
| Date: |
Wed, 24 Apr 2002 09:15:34 +0100 |
| To: |
"Christie Cooksey" <christie(at)thearmidalemall.com>, "Christie Cooksey" <christie(at)thearmidalemall.com> |
| Cc: |
hwg-languages(at)hwg.org |
| In-Reply-To: |
cooksey |
| |
todo: View
Thread,
Original
|
|
> We're trying to learn PHP in my house.
> Is there a way to rename files? We can't find it in the book.
You should be able to call system commands (depending on how your PHP
is set up) using backticks (just below the Esc key on a UK keyboard):
`mv file newfile`.
Raj.
--
Rajnish Bhaskar
r.bhaskar(at)compserv.gla.ac.uk, http://lordofthemoon.com
IT Education Unit, University of Glasgow
http://www.iteu.gla.ac.uk/
--
As far as Death was aware, the sole reason for any human association
with
pigs and lambs was as a prelude to sausages and chops. Quite why
they should
dress up for children's wallpaper as well was a mystery.
-- (Terry Pratchett, Hogfather)
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.