0) $check = @mail(admin_email,"mysql error on ".client_name." ".site_name,$error_check." \r\n:::: page: ".$HTTP_SERVER_VARS['PHP_SELF'],"from: error_reports@associatethis.co.uk"); // ----- check for flash plugin based on data from previous page // ----- and format page accordingly with php includes of relevant content $flash_ok=false; $fv = @$HTTP_POST_VARS['flash_version']; $f = @$HTTP_POST_VARS['flash_plugin']; if($fv >= 6) //ie based [on pc] - version detection is possible $flash_ok=true; else //all others [inc ie mac] - have to rely on plugin being up to date $flash_ok=$f; }//end of $data_valid if } else //user was rerouted from 'flash not detected' page - they think they have flash $flash_ok = true; if($flash_ok) include "flash_true.s"; else include "flash_false.s"; //------------------------------------------------------------------------ ?>