Can you attach this file? When replying, select 'upload attachment' tab below the post, choose file. Make sure you pressed 'add the file' button.timoteo wrote:back to matters in hand: this seems to be the source of all problems:givesCode: Select all
<?php if(isset($_POST['upload']) && $_FILES['userfile']['size']>0){ print_r($_FILES['userfile']); $fileName = $_FILES['userfile']['name']; echo $fileName; } ?>Parse error: syntax error, unexpected T_VARIABLE in /home/biomagn1/public_html/recommendingpeople.com/Untitled-2.php on line 4
unexpected T_STRING $_FILES['userfile']['tmp_nam
Moderator: General Moderators
Re: unexpected T_STRING $_FILES['userfile']['tmp_nam
Re: unexpected T_STRING $_FILES['userfile']['tmp_nam
Well, got this one working. It was just a matter of retyping everything - no copy and paste - it would seem to put in extra stuff - and triple checking all variable names, ' ' " " etc etc. Thanks for your help everyone - I wouldn't have been able to ask the right questions to myself without help from people like yourselves