killbill 21 Odesláno: 31. Březen, 2010 Share Odesláno: 31. Březen, 2010 Ahoj dumal jsem a nic jsem nenasel na googlu prosimvas kdo by mi tu udelal navod jak udelat Upload funkcni??? Thx... Ze kdyz nekdo upne soubor aby to vypsalo kam to uplo a aby to bylo pro vsechny na nejake strance dekuji za pomoc... Link to comment Share on other sites More sharing options...
0 Guest Smok3RS Odesláno: 31. Březen, 2010 Share Odesláno: 31. Březen, 2010 <?php $adresa = "http://pawno.cz/upload/"; if (is_uploaded_file($subor)): $cesta="uploads/"; //vytvor zlozku uploads a musis zmenit atributy na 777 if (move_uploaded_file ($subor, $cesta.$subor_name)): echo 'Nazov súboru: $subor_name || Súbor bol úspešne uploadnutý: Adresa súboru: $adresa$cesta$subor_name'; else: echo 'Pri nahravaniu došlo k chybe'; endif; endif; echo ''; echo ''; echo ' '; echo ''; ?> Dúfam že to niekde nenapíšeš ako tut ;-) Link to comment Share on other sites More sharing options...
0 killbill 21 Odesláno: 31. Březen, 2010 Author Share Odesláno: 31. Březen, 2010 nenapisu a neces me poradit ten formular HTML ??? na to ?? a ete jak nastavim cez totalcommander chmod 777 ? diky Link to comment Share on other sites More sharing options...
0 Exe_R 0 Odesláno: 31. Březen, 2010 Share Odesláno: 31. Březen, 2010 Přes totalcomander ? .. -Klikneš na soubor tláčítkem tak, aby zčervenalo. -Klikneš na Soubor -Vyjede ti tabulka a ty zmáčkneš na : Změna atributů. Link to comment Share on other sites More sharing options...
0 Dennis 0 Odesláno: 16. Červen, 2010 Share Odesláno: 16. Červen, 2010 Pls pise mi to chybu Warning: move_uploaded_file(uploads/gta.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/www/hostujem.sk/subdomains/gta4/uploads.php on line 5 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/home/www/hostujem.sk/tmp/phpoi4C1M' to 'uploads/gta.jpg' in /home/www/hostujem.sk/subdomains/gta4/uploads.php on line 5 riadok 5 if (move_uploaded_file ($subor, $cesta.$subor_name)): co s tym? Link to comment Share on other sites More sharing options...
0 7.Host 3 Odesláno: 16. Červen, 2010 Share Odesláno: 16. Červen, 2010 nic jsem nenasel na googluhttp://www.google.cz/search?sourceid=ch ... upload+php a umíš hledat? -- stř 16. čer 2010 17:20:35 -- Pls pise mi to chybu Warning: move_uploaded_file(uploads/gta.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/www/hostujem.sk/subdomains/gta4/uploads.php on line 5 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/home/www/hostujem.sk/tmp/phpoi4C1M' to 'uploads/gta.jpg' in /home/www/hostujem.sk/subdomains/gta4/uploads.php on line 5 riadok 5 if (move_uploaded_file ($subor, $cesta.$subor_name)): co s tym? ta složka do který to nahráváš neexistuje nebo nemá chmod 777 Link to comment Share on other sites More sharing options...
Dotaz
killbill 21
Ahoj dumal jsem a nic jsem nenasel na googlu prosimvas kdo by mi tu udelal navod jak udelat Upload funkcni??? Thx... Ze kdyz nekdo upne soubor aby to vypsalo kam to uplo a aby to bylo pro vsechny na nejake strance dekuji za pomoc...
Link to comment
Share on other sites
5 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