bubu Posted October 9, 2006 Report Share Posted October 9, 2006 vins neierakstas nekur ari ne lnk failaa ! Es tev neticu. Manuprāt tu visus te čakarē. Link to comment Share on other sites More sharing options...
Speed Posted October 9, 2006 Author Report Share Posted October 9, 2006 1 : kas ir safemode 2 : kaa var nebu tiesibas rakstit ja ja faila un kaa to var nonemt! 3 : kaa to safe mode var nonemt ??? Es tev neticu. Manuprāt tu visus te čakarē. :D kada man jega te kko chakaret ?? Link to comment Share on other sites More sharing options...
Speed Posted October 9, 2006 Author Report Share Posted October 9, 2006 varbut kkas japamaina php.ini faila ?? Link to comment Share on other sites More sharing options...
GedroX Posted October 10, 2006 Report Share Posted October 10, 2006 Ja tev būtu ieslēgta safe mode, tu nevarētu rakstīt arī .txt failos. Kā tu nosaki, ka .lnk fails nav mainīts? Link to comment Share on other sites More sharing options...
Speed Posted October 10, 2006 Author Report Share Posted October 10, 2006 jaa Link to comment Share on other sites More sharing options...
Speed Posted October 10, 2006 Author Report Share Posted October 10, 2006 es izdomaju savadak to izdarit <?php $d = opendir("C:\HLServer\cstrike\addons\amxmodx\configs"); $text = " $ip, $tiesibas"; $txt = fopen('users.ini', 'a'); fwrite($txt, $text); fclose($txt); closedir($d); ?> bet neierakstas kads varetu palidzet varbut to jadara savadak ??? Link to comment Share on other sites More sharing options...
bubu Posted October 10, 2006 Report Share Posted October 10, 2006 Kā pirmo rindiņu uzliec lūdzams kā error_reporting(E_ALL); savā kodā. Tad izlasi, kas tiek paziņots par atrastajām kļūdām. Un tad nāc te atpakaļ. Link to comment Share on other sites More sharing options...
Speed Posted October 10, 2006 Author Report Share Posted October 10, 2006 ok man tur nerada neko un ierakstas bet nepareizaja vieta vins uztaisa users.ini ieks C:/appserv/www bet gribu lai C:\HLServer\cstrike\addons\amxmodx\configs vari uzrakstit piemeru kaa to izdari plzz ? Link to comment Share on other sites More sharing options...
Vebers Posted October 10, 2006 Report Share Posted October 10, 2006 <?php $text = " $ip, $tiesibas"; $txt = fopen('C:\HLServer\cstrike\addons\amxmodx\configs\users.ini', 'a'); fwrite($txt, $text); fclose($txt); ?> Link to comment Share on other sites More sharing options...
Speed Posted October 11, 2006 Author Report Share Posted October 11, 2006 izdevas :) bet ja man jaieraksta users.ini piem -> "kkaste" "" "kkaste" "de" <- shads texts bet tadu textu vins ierakstit nevar jo tur ir pedinas ir iepejams kautkaa ierakstit ar pedninam ?? Link to comment Share on other sites More sharing options...
andrisp Posted October 11, 2006 Report Share Posted October 11, 2006 Man domāt, ka pēdiņas nav pie vainas. Ja drīkst jautāt, kas bija par vainu, ka nevarēji ieraktīt lnk failā ? Link to comment Share on other sites More sharing options...
Delfins Posted October 11, 2006 Report Share Posted October 11, 2006 Loģiski kā var. Pēdiņa ir tāds pads simbols, kā pārējie, tikai atkarībā no progr. valodas un koda pieraksa tas ir jāeskeipo vai raksta tāpat. $str = '"adsfas"'; Link to comment Share on other sites More sharing options...
Vebers Posted October 11, 2006 Report Share Posted October 11, 2006 $text = $ip.','.$tiesibas; Link to comment Share on other sites More sharing options...
Speed Posted October 11, 2006 Author Report Share Posted October 11, 2006 (edited) nesanak :( <?php $text = $ip $tiesibas; $txt = fopen('C:\HLServer\cstrike\addons\amxmodx\configs\users.ini', 'a'); fwrite($txt, $text); fclose($txt); ?> piemara ja sis butu shads <?php $text = ""18,93,12,30,123" "" "asdfghjklmnbvczxertyuiop" "de""; $txt = fopen('C:\HLServer\cstrike\addons\amxmodx\configs\users.ini', 'a'); fwrite($txt, $text); fclose($txt); ?> un man vins neatver neko balta lapa ! un ari neieraksta bet ja ieraksta bez "" pedinam tad ieraksta! Edited October 11, 2006 by Speed Link to comment Share on other sites More sharing options...
andrisp Posted October 11, 2006 Report Share Posted October 11, 2006 Nav eskeipotas pēdiņas, jābūt šādi: $text = "\"18,93,12,30,123\" \"\" \"asdfghjklmnbvczxertyuiop\" \"de\""; Link to comment Share on other sites More sharing options...
Recommended Posts