$handle1 = fopen("http://www.przyklad.com/", "r"); $handle2 = fopen("ftp://uzytkownik:haslo@przyklad.com/jakisplik.txt", "w");