Re: PLEASE HELP
- From: Daniel Tryba <partmapsswen@xxxxxxxxxxxxxxxx>
- Date: 28 Apr 2005 21:17:06 GMT
matt.sus@xxxxxxxxx wrote:
> copy($HTTP_POST_FILES['uploadPhoto']['tmp_name'],
> $HTTP_POST_FILES['uploadPhoto']['name']);
>
> Is there a way to ammend the above to rename the photo they are
> uploading as their firstName and lastName.
>
> Please help as not only is it driving my crazy but i've also spent to
> much in this t-mobile hotspot trying to google this problem.
Goto this URL: http://nl3.php.net/copy
Description
bool copy ( string source, string dest )
Makes a copy of the file source to dest. Returns TRUE on success or
FALSE on failure.
So just set the second argument to the variables you need.
.
- References:
- PLEASE HELP
- From: matt . sus
- PLEASE HELP
- Prev by Date: Re: reordering list help or algo needed
- Next by Date: Re: $_POST limit?
- Previous by thread: PLEASE HELP
- Next by thread: Re: PLEASE HELP
- Index(es):