Avatar

doc and pdf upload possibility (Features)

by Micha ⌂, Wednesday, November 04, 2009, 18:02 (5259 days ago) @ Eelco

Hi,

Do you define the new function endsWith anywhere?

;-)

I now get a nice error, so the code is correct.

Can you change the error message in the script?

 
//Move to directory
if ($isAddionalAcceptedFile) {
   unset($errors); 
   @move_uploaded_file($_FILES['probe']['tmp_name'], $uploaded_images_path.$_FILES['probe']['name']) or $errors[] = 'upload_error '.$uploaded_images_path.$_FILES['probe']['name'];

regards Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

locked
14257 views

Complete thread:

 RSS Feed of thread