Search the Community
Showing results for tags 'picture upload'.
-
Hi all. I have a web page where user can upload pictures for publishing obituaries. everything worked fine until upgrading server to PHP 5.3.27 Now new pictures are not visible even in my CMS backoffice. Photos uploaded before upgrade are still visible. I can see that pictures are uploaded in folder /images/content/ anyone have some idea? below is code for uploading pictures. Thanks in advance . { if (is_uploaded_file($_FILES['slika']['tmp_name'])) { $path = getenv('DOCUMENT_ROOT').'/images/content/'; $brojac = 1; while (file_exists($path.$brojac.'.jpg')) $brojac = $brojac+1; $slika = $brojac; $filesaved = copy($_FILES['slika']['tmp_name'], $path.'o_'.$slika.'.jpg'); list($width, $height) = getimagesize($path.'o_'.$slika.'.jpg'); $v = exec("convert ".$path.'o_'.$slika.".jpg -resize 150x500 ".$path.$slika.'.jpg'); $v = exec("convert ".$path.$slika.".jpg -crop 150x200+0+0 ".$path.$slika.'.jpg'); }
-
Has anyone had this problem that I solved(I hope) with bleepingcomputer.com Whenever I tried to upload a photo here or at several other sites from my computer the picture folders wouldn't shown on this or several other sites in ie10, they worked fine with firefox. And yes I was always in the right folder and none of the folders were hidden. On one of several searches ... "not all the picture folders are showing in ie10 upload" I got this http://answers.microsoft.com/en-us/ie/forum/ie10-windows_7/not-all-the-folders-are-showing-ie10/36835c45-afd9-4573-8ea1-658df0dd4368 then this http://www.bleepingcomputer.com/download/unhide/ This link said ... "Unhide is a program that reverts back the changes made to your files and Windows Registry by the rogue.FakeHDD family of rogue anti-spyware program. This family of malware pretends to be a hard disk repair and system optimization program for Windows. In reality, though, these programs are computer infections that deliberately hide your files and change certain settings in the Windows Registry to make it appear that you have lost data on your hard drive. It will then prompt you to purchase the program to restore the data" Running a full scan with Norton Security Suite did not help. Now a week or so ago I did click a link to a site that said I need to run their software to clean my computer of viruses so maybe I got something there. I ran the above from bleepingcomputer.com and ie upload now reads the photo folders. So my question is Has anyone had this problem or heard of it and how it you solve it? Thanks