<?php
$url = 'http://google.com/';
header('Location: ' . $url);
The xdebug setting in php.ini is:
zend_extension=path_to_xdebug.dll
xdebug.remote_enable=1
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
The above header()
redirection will work as long as I remove the xdebug setting.
Anyone met this problem?