jQuery: The Write Less, Do More JavaScript Library

The upload with php

View: New views
2 Messages — Rating Filter:   Alert me  

The upload with php

by gogomann :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

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.

Re: The upload with php

by Diego A. :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

These results should help you:
http://www.google.co.uk/search?q=for+each+upload+file+php&sourceid=navclient-ff&ie=UTF-8&rls=GGGL,GGGL:2006-14,GGGL:en

gogomann wrote:
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.