$file_path = 'file.txt';
$file_redirect_data = '70';
if (file_exists($file_path)) {
$file_content = file_get_contents($file_path);
if ($file_content == $file_redirect_data) {
header('Location: http://www.example.com/page2.php');
exit();
}
}