fairyboy Posted May 28, 2006 Report Share Posted May 28, 2006 Tatad..skripti, cik talu esmu ticis.. php fails mailto.php pie http address esmu ierakstijis http://kautkas.lv/ <?.php chmod("./test.txt", 0777); // lv2.php.net/chmod $inputText=$_POST['inputText']; $handle=fopen("test.txt","a"); fwrite($handle,$inputText); fwrite($handle,"\n"); fclose($handle); ?> un flashaa input text un poga ar skriptu on(release) { loadVariables("http://kautkas.lv/mailto.php?teksts="+inputs.text , 0); } un protams text fails test.txt Link to comment Share on other sites More sharing options...
Delfins Posted May 28, 2006 Report Share Posted May 28, 2006 kas tieši neiet? Link to comment Share on other sites More sharing options...
fairyboy Posted May 28, 2006 Author Report Share Posted May 28, 2006 pec butibas, mana iecere, ka - teksts, kurs tiek ievadits flash input text laucina tiktu ierakstits .txt faila! bet netiek!:( Link to comment Share on other sites More sharing options...
Delfins Posted May 28, 2006 Report Share Posted May 28, 2006 Kādus erorus met ārā PHP? PS: ieslēdz error reporting... Link to comment Share on other sites More sharing options...
SkyD Posted May 28, 2006 Report Share Posted May 28, 2006 neder: $inputText=$_POST['inputText']; jabūt: $inputText=$_GET['teksts']; Link to comment Share on other sites More sharing options...
fairyboy Posted May 28, 2006 Author Report Share Posted May 28, 2006 nee..ari tas nedarbojas!:( tur jau taa lieta, ka neko neuzrada - atveru test.fla - ierakstu tektu, nospiezu pogu un nekas nenotiek - atveru .txt failu - tukss!:/ Link to comment Share on other sites More sharing options...
SkyD Posted May 28, 2006 Report Share Posted May 28, 2006 Da ko tu gribēji tad.. Tev ir jauztais test.swf un jaiemet vinjsh webaa, tad vinjsh izsauks $_GET[], kur paradisies tavs teksts. Un tad ies, tas ko es tev pateicu. Link to comment Share on other sites More sharing options...
fairyboy Posted May 28, 2006 Author Report Share Posted May 28, 2006 man ir jataisa sava adrese!?? ar to man vel negribejas kepaties... caur Testing server nevar to visu dabut gatavu!? - tik kas tur isti ir jaraksta!? ja palidzesiet man ar sito tikt gala - apsolos nekad vairs par sito nejautat!;D Link to comment Share on other sites More sharing options...
SkyD Posted May 28, 2006 Report Share Posted May 28, 2006 Tev apache, PHP, ir uzinstalēti? Ja ir, tad viss ok. http://localhost/flashins.php <--iekshaa iemet savu flash http://localhost/mailto.php <-- to kodu, kas raksta ieksh. Link to comment Share on other sites More sharing options...
fairyboy Posted May 28, 2006 Author Report Share Posted May 28, 2006 Nu vecais - tagad tad jau instaleju appserv!p tas tacu ir tas pats!? turpinasu zinot par talakajiem notikumiem!;) ir ieinstalets un it ka palaists...un ko talak!? (es tiesam neorientejos sitajos visos, bet velos iemacities!!!) Link to comment Share on other sites More sharing options...
Recommended Posts