Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> upload zdjec
Lonas
post
Post #1





Grupa: Zarejestrowani
Postów: 576
Pomógł: 14
Dołączył: 9.11.2005

Ostrzeżenie: (20%)
X----


Hej - szukam jakiegos skryptu do uploadowania zdjec na serwer - najlepiej zeby mozna bylo wrzucic kilka naraz


--------------------
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 4)
Cysiaczek
post
Post #2





Grupa: Moderatorzy
Postów: 4 465
Pomógł: 137
Dołączył: 26.03.2004
Skąd: Gorzów Wlkp.




heh. a co tam biggrin.gif
fileUpload 1.3.1
To jest wogóle do uploadu - wystarczy, że użyjesz odpowiedniego filtra - przykład dla obrazków też jest.

Pozdrawiam.


--------------------
To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness;
chaotic, confused, vulnerability, to inform yourself.
Think for yourself. Question authority.
Go to the top of the page
+Quote Post
aiv
post
Post #3





Grupa: Zarejestrowani
Postów: 93
Pomógł: 13
Dołączył: 7.09.2006

Ostrzeżenie: (0%)
-----


Cytat(Cysiaczek @ 30.12.2007, 13:47:47 ) *
heh. a co tam biggrin.gif


Musisz być bardziej pewny siebie smile.gif


--------------------
Mariusz Dalewski
Aiv's dev blog
Go to the top of the page
+Quote Post
Lonas
post
Post #4





Grupa: Zarejestrowani
Postów: 576
Pomógł: 14
Dołączył: 9.11.2005

Ostrzeżenie: (20%)
X----


Chodziloby mi raczej o cos prostszego - robie opis produktu i chcialbym zeby mozna bylo dodac odrazu zdjecia


--------------------
Go to the top of the page
+Quote Post
Cysiaczek
post
Post #5





Grupa: Moderatorzy
Postów: 4 465
Pomógł: 137
Dołączył: 26.03.2004
Skąd: Gorzów Wlkp.




To jest skomplikowane? Ustawiasz sobie, żeby klasa zgłaszała wyjątki i odpalasz.
  1. <?php
  2. include_once('libs/includes.php'); 
  3. $directory='uploads/'; 
  4. $files=new FILES($_FILES); 
  5. $uploader=new fileUpload(new imageUploadFilter($files->getIterator()));
  6. $uploader->setDestination($directory); 
  7. $uploader->doUpload();
  8. ?>


biggrin.gif

Pozdrawiam,


--------------------
To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness;
chaotic, confused, vulnerability, to inform yourself.
Think for yourself. Question authority.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 19.08.2025 - 07:07