Notice when using header redirect
Why did I say that?
Test following script
header(‘Location: http://about:blank’);
file_put_contents(‘/tmp/still-running’, ‘I am here’);
Then
cat /tmp/still-running
So, don’t forget die!!!
Why did I say that?
Test following script
header(‘Location: http://about:blank’);
file_put_contents(‘/tmp/still-running’, ‘I am here’);
Then
cat /tmp/still-running
So, don’t forget die!!!