Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $x = file_get_contents("target.txt");
- $x = explode("\r\n", $x);
- $ix = 1;
- foreach ($x as $key => $value) {
- echo $ix."/".count($x)."\r\n";
- $myfile = fopen("asu.txt", "a+") or die("Unable to open file!");
- fwrite($myfile, $value.",");
- fclose($myfile);
- $ix++;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement