Form field: <input type="file" name="photo" size="30" /> $tmpname = $_FILES['photo']['name']; //I added this for testing echo ($tmpname); //this returns empty $photoname = $_FILES['photo']['name']; $photoextension = $_FILES['photo']['type']; echo ($photoname.$photoextension); //added for testing, this works fine $photourl = "venueuploads/".$photoname.$photoextension; echo ($photourl); //this works and returns the full file name $photo = copy ($_FILES['photo']['tmp_name']['type'], $photourl); //this does not work
|Permalink issue in Wordpress archive||1||31|
|jQuery detect if it is a mobile device||3||90|
|Php pie charts||3||26|
|Could you point a way to form a view's combo based on Codeigniter's results?||4||16|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
22 Experts available now in Live!