Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Opdater passwords fra tekstfil
- $new_password = "bob123";
- $file = fopen("s.txt", "r");
- if($file){
- while(($line = fgets($file)) !== false)
- {
- echo explode(",", $line)[0] . "," . $new_password . "<br>";
- }
- }else{
- echo "Filen blev ikke fundet";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement