Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $handle = fopen("neg.txt", "r");
- if ($handle) {
- while (($line = fgets($handle)) !== false) {
- //....
- }
- } else {
- echo "/!\\ Couldn't open $filename /!\\", getcwd();
- }
- fclose($handle);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement