Dawno nie progrmowałem w php i teraz chciałem zrobić stronkę do Uploadowania plików i znlazłem taki skrypcik:
<?php if($userfile) { //$username : contains the name of TMP file, $usrfile_name : it's the real name of file } ?> File to Upload: <input type=file name=userfile><BR> <input type=submit value="Upload"> </form> </body> </html>
I nie wiem dlaczego nie chce mi się uploadować żaden plik. (w 2 linijce jest błąd "/public_html/$userfile_name" ale to nie chyb od niego zależy)