RE: [PHP] Renaming an uploaded file
| From: | Steve Jackson | Date: | Mon, 24 Feb 2003 10:07:49 +0000 |
| Subject: | RE: [PHP] Renaming an uploaded file | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-136869@lists.php.net to get a copy of this message | ||
OK,
Thanks that helped. I've sorted that part of the problem.
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
stephen.jackson@violasystems.com
Mobile +358 50 343 5159
> -----Original Message-----
> From: Jason Wong [mailto:php-general@gremlins.biz]
> Sent: 24. helmikuuta 2003 11:20
> To: php-general@lists.php.net
> 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
>