Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

--TEST-- Location: headers do not override the 302 Found response code --CGI-- --FILE-- <?..

Decoded Output download

--TEST--
Location: headers do not override the 302 Found response code
--CGI--
--FILE--
<?php
header('HTTP/1.1 302 Found');
header('Location: http://example.com/');
?>
--EXPECTHEADERS--
Status: 302 Found
Location: http://example.com/
--EXPECT--

Did this file decode correctly?

Original Code

--TEST--
Location: headers do not override the 302 Found response code
--CGI--
--FILE--
<?php
header('HTTP/1.1 302 Found');
header('Location: http://example.com/');
?>
--EXPECTHEADERS--
Status: 302 Found
Location: http://example.com/
--EXPECT--

Function Calls

header 1

Variables

None

Stats

MD5 a1d324583d201d422b4b650d8afb6ac2
Eval Count 0
Decode Time 97 ms