I am trying to map my data in FTP but cannot hide the output of var_dump
.
My goal is to do get the output but as a notification in my mail box.
Getting it in my mail box is not an issue. But the issue is I am unable to hide the output.
As well as getting the output as an hyperlink.
So I want to hide but make it as an hyperlink message in my mail box.
For example:
///////Mapping///////////////////////////////////////////
$host=$_SERVER['HTTP_HOST'];
$rootpath = '.';
$fileinfos = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($rootpath));
foreach($fileinfos as $pathname => $fileinfo) {
if (!$fileinfo->isFile()) continue;
var_dump('http://www.'.$host.(substr_replace($pathname,"/",0,2).'<br>'));
}
/////////////////////////////////////////////////////////