AR
Try to change this:
$from=file_get_contents($m);
and add $ here
preg_match('|<a href="dispGet.php?id=788" class="download">Download</a></td></tr></tbody></table><br>(.*?)<br><form name="form1" method="post" action="">|',$from,$regs);
<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***
AR
If the rest of matching pattern is ok, change to this: echo $regs[0];
<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***
AR
$from='dfgdgdgdsg sfdgsdrfr g <a href="dispGet.php?id=788" class="download">Download</a></td></tr></tbody></table><br>findme<br><form name="form1" method="post" action=""> sfgsfsdf sdf fs';
preg_match('/<a href=\"dispGet.php\?id=788\" class=\"download\">Download<\/a><\/td><\/tr><\/tbody><\/table><br>(.*?)<br><form name=\"form1\" method=\"post\" action=\"\">/i',$from,$regs);
echo $regs[1];
$regs[1] echoes findme here. 🙂
<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***