Its not a php Question. Its a HTTP question
how web server send client Location header request.
The thing is, after sending "\r\n\r\n" web server start to send data to web client but even though in that situation if we create a Location header request it works
look at the below example.
How it works?
how web server send client Location header request.
The thing is, after sending "\r\n\r\n" web server start to send data to web client but even though in that situation if we create a Location header request it works
look at the below example.
Code:
<?php
echo "johny";
header("Location: request.php");
?>
Comment