Re: unexpected T_STRING $_FILES['userfile']['tmp_nam
Posted: Wed Feb 09, 2011 9:09 am
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