Thursday, April 6, 2017

Ob Start in PHP


<?php ob_start(); ?>

<h1>Test</h1>
This is PHP Testing!

<?php

$direct_page = 'http://www.tnw87.com';
$direct = true;

if($direct == true){
  header('location: '.$direct_page);
}
ob_start_flush();

?>

No comments:

Post a Comment