Re: [PHP-DEV] segfault when running strpos (was header)!

2007-02-07 Thread Chris Malton
Antony Dovgal wrote: > On 02/07/2007 11:16 PM, Chris Malton wrote: >> Please see below for a term session: >> >> [EMAIL PROTECTED]:~/php6# cat /srv/www/include/firefox.inc >> > //if($_GET["ffcheck"]==""){ >> //$ua=$_SERVER['HTTP_USER_AGENT']; >> if(strpos($ua,"MSIE")!==false){ >> //USER AGENT = M

Re: [PHP-DEV] segfault when running strpos (was header)!

2007-02-07 Thread Antony Dovgal
On 02/07/2007 11:16 PM, Chris Malton wrote: Please see below for a term session: [EMAIL PROTECTED]:~/php6# cat /srv/www/include/firefox.inc http://shared.cjsoftuk.dyndns.org/Firefox.php?URL="; . urlencode("http://"; . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"] . "?" . $_SERVER["QUERY_STRING

Re: [PHP-DEV] segfault when running strpos (was header)!

2007-02-07 Thread Chris Malton
Antony Dovgal wrote: > 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. >> >> > if($_GET["ffcheck"]==""){ >> $ua=$_SERVER['HTTP_U

Re: [PHP-DEV] segfault when running strpos (was header)!

2007-02-07 Thread Antony Dovgal
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. http://shared.cjsoftuk.dyndns.org/Firefox.php?URL="; . urlencode("http://"; . $_SERVER["HTTP_HOST"]