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 >> <?php >> //if($_GET["ffcheck"]==""){ >> //$ua=$_SERVER['HTTP_USER_AGENT']; >> if(strpos($ua,"MSIE")!==false){ >> //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(); >> } >> //} >> ?> >> [EMAIL PROTECTED]:~/php6# php6 /srv/www/include/firefox.inc >> Segmentation fault >> >> (I know I shouldn't be root, but anyway it's over LAN). >> >> See my point? > > Still no segfault. Valgrind says "0 errors from 0 contexts". > Try clean build using fresh CVS snapshot/checkout? >
You're right, I'm using my bad practises again (cvs update && make)! Seems to work with a reconfigure etc. Looks like something OTHER than the C code changed. I did get a lot of warnings during compiling this time though. Seems to work well otherwise. Chris -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php