OK,
Thanks that helped. I've sorted that part of the problem.
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: 24. helmikuuta 2003 11:20
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Renaming an uploaded file
On Monday 24 February 2003 16:39, Steve Jackson wrote:
I am in the process of building a CMS and need to know how
to rename
an uploaded template. I can upload the page fine (ie. Template.php)
but then I want to be able to save the file as a user
specified name
after the upload is done. Either that or copy the template from the
server and save it as something else.
How are you processing the uploaded file? Usually (as per
example in manual),
you would use the move_uploaded_file() command. That allows
you to specify a
destination filename.
--
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
--
/*
Sex is like air. It's only a big deal if you can't get any.
*/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php