KironetCZ 0 Odesláno: 21. Únor, 2012 Share Odesláno: 21. Únor, 2012 <?php$d = dir(".");while (false !== ($entry = $d->read())){ if(!((strpos($entry, ".jpg")===false)and(strpos($entry, ".gif")===false)and(strpos($entry, ".png")===false)and(strpos($entry, ".bmp")===false))){ echo "\nJmeno: ".$entry."\n\n"; }}$d->close();?> Link to comment Share on other sites More sharing options...
0 Administrátor Ewwe 434 Odesláno: 21. Únor, 2012 Administrátor Share Odesláno: 21. Únor, 2012 do img src dej parametr width a height Link to comment Share on other sites More sharing options...
0 KironetCZ 0 Odesláno: 21. Únor, 2012 Author Share Odesláno: 21. Únor, 2012 To jsem zkousel ale asi to tam vladam blbě Link to comment Share on other sites More sharing options...
0 Guest Frodo Odesláno: 21. Únor, 2012 Share Odesláno: 21. Únor, 2012 echo Link to comment Share on other sites More sharing options...
0 Administrátor Ewwe 434 Odesláno: 21. Únor, 2012 Administrátor Share Odesláno: 21. Únor, 2012 nepůjde po echo má " bude to errovat musí bud \" nebo ' Link to comment Share on other sites More sharing options...
0 KironetCZ 0 Odesláno: 21. Únor, 2012 Author Share Odesláno: 21. Únor, 2012 Chyba Parse error: syntax error, unexpected T_LNUMBER, expecting ',' or ';' in /data/web/virtuals/18001/virtual/www/images/index.php on line 6 Link to comment Share on other sites More sharing options...
0 Roox 1 Odesláno: 21. Únor, 2012 Share Odesláno: 21. Únor, 2012 Asi sis nepřečet, co napsal Ewwe viď Link to comment Share on other sites More sharing options...
0 KironetCZ 0 Odesláno: 21. Únor, 2012 Author Share Odesláno: 21. Únor, 2012 No stejne nic Link to comment Share on other sites More sharing options...
0 KironetCZ 0 Odesláno: 21. Únor, 2012 Author Share Odesláno: 21. Únor, 2012 Jo uz to mám Díky moc Link to comment Share on other sites More sharing options...
0 Guest Frodo Odesláno: 21. Únor, 2012 Share Odesláno: 21. Únor, 2012 nepůjde po echo má " bude to errovat musí bud \" nebo ' Máš pravdu, toho jsem si nevšiml Link to comment Share on other sites More sharing options...
0 Administrátor Ewwe 434 Odesláno: 21. Únor, 2012 Administrátor Share Odesláno: 21. Únor, 2012 nepůjde po echo má " bude to errovat musí bud \" nebo ' Máš pravdu, toho jsem si nevšiml stává se Link to comment Share on other sites More sharing options...
Dotaz
KironetCZ 0
<?php
$d = dir(".");
while (false !== ($entry = $d->read())){
if(!((strpos($entry, ".jpg")===false)and(strpos($entry, ".gif")===false)and(strpos($entry, ".png")===false)and(strpos($entry, ".bmp")===false))){
echo "
\nJmeno: ".$entry."\n
\n";
}
}
$d->close();
?>
Link to comment
Share on other sites
10 odpovědí na tuto otázku
Recommended Posts