Re: PLEASE HELP
- From: "Alistair Baillie SS2002" <abaillie@xxxxxxxxxxxxxxxx>
- Date: Thu, 28 Apr 2005 22:25:56 +0100
> copy($HTTP_POST_FILES['uploadPhoto']['tmp_name'],
> $firstNAme . " " . $lastname . ".bmp" );
<matt.sus@xxxxxxxxx> wrote in message
news:1114721382.048432.88190@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> hi i have a website where people can register their details and upload
> a pic.
>
> so i have variables for firstName and lastName etc
>
> not the following lines are in the php file that everything gets sent
> to:
>
> copy($HTTP_POST_FILES['uploadPhoto']['tmp_name'],
> $HTTP_POST_FILES['uploadPhoto']['name']);
> print "<h2>Thank you for registering.</h2><br>";
> print "<h2>Your details have been saved on our system.</h2>";
> print "<br>"
>
>
> All the variables go nicely into the mysql database and the photo
> uploads, however it just uploads with the name the person has it saved
> on their computer as.
>
> 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.
>
> Thanks
>
.
- Follow-Ups:
- Re: PLEASE HELP
- From: matt . sus
- Re: PLEASE HELP
- References:
- PLEASE HELP
- From: matt . sus
- PLEASE HELP
- Prev by Date: Re: $_POST limit?
- Next by Date: how to combine the results of two variables to echo another variable?
- Previous by thread: Re: PLEASE HELP
- Next by thread: Re: PLEASE HELP
- Index(es):
Relevant Pages
|