Re: Forcing a file name

From: Date: Wed, 15 Nov 2000 15:45:19 +0000
Subject: Re: Forcing a file name
Groups: php.windows 
Request: Send a blank email to php-windows+get-3868@lists.php.net to get a copy of this message
When a file is uploaded it gets a temporary filename phpXX.tmp, where XX is a number. You can (should) move the file to your location and you can rename the file to whatever. You will have the original file name in a variable. - Frank >Can I force an uploaded file to a specific name. > >For example, when a file is uploaded, it takes the original filename. > >Can I force it to take a certain filename on the server so that when it is >uploaded it becomes file1.ext for instance? > > >-- Ben Cairns, Head Of Technical Operations, Intasept.com >E-Mail: BenC@intasept.com | Web: http://www.intasept.com > > >-- >PHP Windows Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net >For additional commands, e-mail: php-windows-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >

« previous php.windows (#3868) next »