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

Reply via email to