jQuery: The Write Less, Do More JavaScript Library

 « Return to Thread: The upload with php

The upload with php

by gogomann :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View in Thread

hi @all

OK guys the js is looks good  but how can php get the Files i wante to upload ?

on php i have  for upload one file
if (is_uploaded_file($_FILES['file']['tmp_name']))
                        echo ("pic is up ! ");
                        { $rand1 = rand(1 , 999999);
                                $fotoname = "$rand1.jpeg";
                                move_uploaded_file(($_FILES['file']['tmp_name']),"../gallerie/test/$fotoname");
                                chmod ("../gallerie/test/$fotoname", 0777);
                       }
       
What should I do if I see a need for each loop pix.

 « Return to Thread: The upload with php

LightInTheBox - Buy quality products at wholesale price!