$uploadedfile = $_POST['uploadedfile'];
That will give you the "c:\Document..." thingy. But if you change that to the following:
$uploadedfile = $_FILES['uploadedfile']['name'];
You'll just get the original file name. UNLESS, this is a two stage form. Is this code your form handler? Judging from your move_uploaded_file statement, it would appear that this is your actual form handler.
Now, I cannot tell from your code if $uploadedfile is what you are injecting into your email body. I see a variable called $datafile only above. I guess you could try this:
$body = "Habbo Name: $name \n
Real Name: $realname \n
Email Address: $email \n
Age: $age \n
About Me: $aboutme \n
Picture: {$_FILES['uploadedfile']['name']}\n
";
Sorry if I came across as grouchy. As you can see from my signature, I'm pretty adamant about forum etiquette. When you write things in forums like...
Thank you for trying though!
...comes across as, "You're absolutely wrong and you don't have a clue what you are talking about. Next person please!" Now, after thinking this through, I'm sure I interpreted that incorrectly, and maybe that's just me. However, I think that ppl need to be careful and a better response might have been, "I already tried that and it gives me... and now my picture doesn't get uploaded. Here is my code..."
I know it seems egotistic, but it's just that people helping here are not getting any compensation for helping you. So please try to be careful to not show disrespect (even by mistake.) People will be more apt to help. I'm sorry for taking offense, I know I shouldn't have. Good luck with your code.