Jakub Kučera 6 Odesláno: 24. Listopad, 2013 Share Odesláno: 24. Listopad, 2013 Potřeboval bych php skript, který by mi vypsal všechny soubory z FTP, ale zablokovat jejich otevření. Děkuji Kučera Link to comment Share on other sites More sharing options...
0 Arthom 6 Odesláno: 24. Listopad, 2013 Share Odesláno: 24. Listopad, 2013 Pouzi foreach ... Ak ti.tu budem davat vsetky scripty hotove, nic sa nenaucis Link to comment Share on other sites More sharing options...
0 Jakub Kučera 6 Odesláno: 24. Listopad, 2013 Author Share Odesláno: 24. Listopad, 2013 Zkusil jsem to takto : <?php $connect = ftp_connect("93.185.105.251"); $result = ftp_login($connect, "samp_7836", "heslo"); $a = ftp_nlist($connect, "/Hraci/"); foreach($a as $value){ echo $value,"<BR>"; } ?> A dopadlo to takto : http://life.papoera.eu/viewpage.php?page_id=23 Jenž já bych potřeboval, abych tam neměl to /Hraci/ a to .ini Link to comment Share on other sites More sharing options...
0 Leroy 2 Odesláno: 24. Listopad, 2013 Share Odesláno: 24. Listopad, 2013 <?php $connect = ftp_connect("93.185.105.251"); $result = ftp_login($connect, "samp_7836", "heslo"); $a = ftp_nlist($connect, "/Hraci/"); foreach($a as $value){ echo basename($value, ".ini")."<BR>"; } ?> Link to comment Share on other sites More sharing options...
Dotaz
Jakub Kučera 6
Potřeboval bych php skript, který by mi vypsal všechny soubory z FTP, ale zablokovat jejich otevření.
Děkuji Kučera
Link to comment
Share on other sites
3 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now