Search This Blog

header() in php


<?php
header('location:'.'http://http://some-php-programs.blogspot.com/');

?>


output :

automatically http://some-php-programs.blogspot.com/ opened




======================================================


<?php
$webpage='http://some-php-programs.blogspot.com/';
header('location:'.$webpage);

?>

output :
automatically http://some-php-programs.blogspot.com/ opened

Share Links

Related Posts Plugin for WordPress, Blogger...