<?php if(isset($_POST['upload'])){ var_dump($_FILES['userfile']);echo"<br/><br/>"; if($member->ChangeProfilePicture($_FILES['userfile'],$sessionID)){ header("ViewProfile.php?id=$id"); } } echo " <form enctype=\"multitype/form-data\" action='#' method='post'> <table> <tr><td><input name='userfile' type='file' id='uploadFile'/> </tr> <tr><td><input type='submit' name='upload' value='Edit Profile pictures'/></td></tr> </table> </form>"; ?>
enctype=\"multitype/form-data\"
enctype="multipart/form-data"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)