ecoc Posted January 17, 2009 Report Share Posted January 17, 2009 (edited) Scripts man ir , kad parsuta txt failus , bet , ka var uztaisit kad nospiez submit pogu , pariet uz proccest.php un paradas Teksts paldies , par dziesmu . Tagad man vienkārši tuks ekrans rādas. Rekur proccest.php : <?php if ($_SERVER['REQUEST_METHOD'] == 'POST') { $field1 = $_POST['field1']; $field2 = $_POST['field2']; $f=fopen("user_songs.txt","a"); fwrite($f,"Nickname: $field1 | $Download link: field2|\r\n"); fclose($f); } ?> Edited January 17, 2009 by ecoc Link to comment Share on other sites More sharing options...
bubu Posted January 17, 2009 Report Share Posted January 17, 2009 Viens vecs mans posts šajā pat forumā: Vai tikpat labi to var darīt ar Google Spreadsheet'u:http://blogoscoped.com/archive/2008-02-07-n68.html http://www.mmmeeja.com/blog/web_design/usi...ate-a-poll.html Te piemēri kā tas izskatās dzīvē: http://spreadsheets.google.com/viewform?ke...ioyfw&hl=en http://spreadsheets.google.com/viewform?ke...licKLSSqirpNoGg Varbūt der gūgles spredšīts šim uzdevumam. Link to comment Share on other sites More sharing options...
ecoc Posted January 17, 2009 Author Report Share Posted January 17, 2009 (edited) Ja tagad cita problema , es uzliku to scriptu uz hostinga bezmaksas , bet lieta tada ka neparadas text fails tur . Nekadus errorus nemat . Bet kad testeju uz localhost uz manas kastes viss gaja ! Edited January 17, 2009 by ecoc Link to comment Share on other sites More sharing options...
waplet Posted January 17, 2009 Report Share Posted January 17, 2009 CHMOD 777 ira uzlikts? Link to comment Share on other sites More sharing options...
Recommended Posts