Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function save_email($email)
- {
- $path = "my_subsribes.777";
- $pf = fopen($path, 'a') or die ("ERROR: 777 - Please contact administrators.");
- date_default_timezone_set('Europe/Belgrade');
- $current_date = date("d. m. Y. H:i:s");
- $email = $current_date . ' - ' . $email . PHP_EOL;
- fwrite($pf, $email);
- fclose($pf);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement