4 Topics

Member Avatar for
Member Avatar for davBro

Hi, I haven't been on this community forum for quite a while. I have been getting an annoying problem with my file uploads (i.e. pdf documents), to my remote server. The upload_file form was working great for a long time, but just recently it stopped working. The problem there, was, …

0
419
Member Avatar for vivosmith

<?php if (isset($_POST['submited'])) { if (isset($_FILES['upload'])) { $allowed=array('image/JPEG','application/x-bittorrrent'); if (in_array($_FILES['upload']['type'],$allowed)) { if(move_uploaded_file($_FILES['upload']['tmp_name'] , "../upload/$_FILES['upload']['tmp_name']")) { echo'Your file has been successfully uploaded!'; } else { echo'Please upload a torrent file!'; } } } if ($_FILES['upload']['error']>0){echo 'An error has occured.';} if (file_exists ($_FILES['upload']['tmp_name']) && is_file( $_FILES['upload']['tmp_name'] ) ){ unlink ($_FILES['upload']['tmp_name'] ); } …

Member Avatar for vivosmith
0
2K
Member Avatar for happygeek

Am just editing a news story ([How to disable SIM-killing USSD PUK attack that has spread to all Androids](http://www.daniweb.com/software-development/mobile-development/news/436119/how-to-disable-sim-killing-ussd-puk-attack-that-has-spread-to-all-androids#post1873145)) and cannot upload accompanying image. Get the following: "A problem was encountered while attempting to move the uploaded file to the final destination."

Member Avatar for Ancient Dragon
0
2K
Member Avatar for Chub97

I have spent the last few days trying to optimize my site for the uploading of large video files. I have changed all the php.ini settings way over the time that it would take to upload the videos but nothing seems to work. It gets to about 30% and then …

Member Avatar for amit prm
0
458

The End.