PHP 301 Redirect, Impossible?
Pretty straightforward actually:
header('Location: ' . $url, true, 301);
If you're using FastCGI try doing this instead:
header('Status: 301 Moved Permanently', true);header('Location: ' . $url); // or header('Location: ' . $url, true, 301);