On 02/07/2007 10:41 PM, Chris wrote:
Need any more info? Give me a buzz.

A reproduce case?


WHOOPS - Turns out it isn't header that breaks it!

The following code breaks php6 at the cmd line.

<?php
if($_GET["ffcheck"]==""){
$ua=$_SERVER['HTTP_USER_AGENT'];
if(strpos($ua,"MSIE")!==false){ *segfaults HERE*
  //USER AGENT = MSIE!
  header("Location: http://shared.cjsoftuk.dyndns.org/Firefox.php?URL=";
. urlencode("http://"; . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]
. "?" . $_SERVER["QUERY_STRING"]));
  exit();
}
}
?>

Could you please provide a short but complete reproduce case, so I can just 
copy/paste it and reproduce the problem.
With this code I can see only "Notice: Undefined index: ffcheck in ..", but no 
segfault.

Thank you.

--
Wbr, Antony Dovgal

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to