Boileris Posted April 3, 2005 Report Share Posted April 3, 2005 :unsure: kaa var sataisiit, lai piemeeram: $login = "losis"; $info = "liels zaabaks"; ierakstaas failaa users.php $user['losis']="liels zaabaks"; luudzu, paliidziet pats netieku gudrs kaa lai to izdatra! Link to comment Share on other sites More sharing options...
bubu Posted April 3, 2005 Report Share Posted April 3, 2005 <?php $login = "losis"; $info = "liels zaabaks"; $f = fopen('users.php', 'w'); fwrite($f, '$user[\''.$login.'\']="'.$info.'"'); fclose($f); ?> Neaizmirsti tikai pārliecināties (tb pārbaudīt), ka $login nesatur ' simbolu un $info " simbolu. Link to comment Share on other sites More sharing options...
Boileris Posted April 3, 2005 Author Report Share Posted April 3, 2005 liels paldies, operatiivi gan atildeeja :) Link to comment Share on other sites More sharing options...
Recommended Posts