'; $revstr=""; $sb=" -r -g -p "; $sbtwo=" "; $cb="For random greedy paranoid enter -r -g -p"; $clist="actually, alpaca, beavis.zen, blowfish, bong, bud-frogs, bunny, cheese, cower, cupcake, daemon, default, dragon, dragon-and-cow, elephant, elephant-in-snake, eyes, flaming-sheep, fox, ghostbusters, head-in, hellokitty, kiss, kitty, koala, kosh, llama, luke-koala, mech-and-cow, meow, milk, moofasa, moose, mutilated, ren, sheep, skeleton, small, stegosaurus, stimpy, supermilker, surgery, sus, three-eyes, turkey, turtle, tux, udder, vader, vader-koala, www"; $clistsw="-f"; } $selohl=""; $oursbtwo=trim($sb) . (trim($sbtwo) == '' ? '' : ' ' . trim($sbtwo)); if (file_exists(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'leftcow.txt')) { $oursbtwo.=' "Left Hand comment"'; if (isset($_POST['lhdiag'])) { $oursbtwo=(substr(str_replace('+',' ',urldecode($_POST['lhdiag'])),0,7) != 'cowsay ' ? $sbtwo . ' "Left Hand comment"' : str_replace('cowsay ','',str_replace('+',' ',urldecode($_POST['lhdiag'])))); } $selohl=justdoit(file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'leftcowbig.txt'), 'leftcow.txtmaybe'); } else if ($posted == "") { // 'cowsay ' . $sb . $sbtwo $oursbtwo.=' "Left Hand comment"'; if (isset($_POST['lhdiag'])) { $oursbtwo=(substr(str_replace('+',' ',urldecode($_POST['lhdiag'])),0,7) != 'cowsay ' ? $sbtwo . ' "Left Hand comment"' : str_replace('cowsay ','',str_replace('+',' ',urldecode($_POST['lhdiag'])))); } file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'leftcow.txt', 'cowsay ' . $oursbtwo); file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'leftcowbig.txt', ''); $selohl=justdoit(file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'leftcowbig.txt'), 'leftcow.txt'); } else { // 'cowsay ' . $sb . $sbtwo $oursbtwo.=' "Left Hand comment"'; if (isset($_POST['lhdiag'])) { $oursbtwo=(substr(str_replace('+',' ',urldecode($_POST['lhdiag'])),0,7) != 'cowsay ' ? $sbtwo . ' "Left Hand comment"' : str_replace('cowsay ','',str_replace('+',' ',urldecode($_POST['lhdiag'])))); } file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'leftcow.txt', 'cowsay ' . $oursbtwo); file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'leftcowbig.txt', ''); $selohl=justdoit(file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'leftcowbig.txt'), 'leftcow.txtmaybe'); } $selohr=""; $oursbtwo=trim($sb) . (trim($sbtwo) == '' ? '' : ' ' . trim($sbtwo)); if (file_exists(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'rightcow.txt')) { $oursbtwo=str_replace(' "Left Hand comment"','',$oursbtwo) . ' "Right Hand comment"'; if (isset($_POST['rhdiag'])) { $oursbtwo=(substr(str_replace('+',' ',urldecode($_POST['rhdiag'])),0,7) != 'cowsay ' ? $sbtwo . ' "Right Hand comment"' : str_replace('cowsay ','',str_replace('+',' ',urldecode($_POST['rhdiag'])))); } $selohr=justdoit(file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'rightcowbig.txt'), 'rightcow.txtmaybe'); } else if ($posted == "") { // 'cowsay ' . $sb . $sbtwo $oursbtwo=str_replace(' "Left Hand comment"','',$oursbtwo) . ' "Right Hand comment"'; if (isset($_POST['rhdiag'])) { $oursbtwo=(substr(str_replace('+',' ',urldecode($_POST['rhdiag'])),0,7) != 'cowsay ' ? $sbtwo . ' "Right Hand comment"' : str_replace('cowsay ','',str_replace('+',' ',urldecode($_POST['rhdiag'])))); } file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'rightcow.txt', 'cowsay ' . $oursbtwo); file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'rightcowbig.txt', ''); $selohr=justdoit(file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'rightcowbig.txt'), 'rightcow.txt'); } else { // 'cowsay ' . $sb . $sbtwo $oursbtwo=str_replace(' "Left Hand comment"','',$oursbtwo) . ' "Right Hand comment"'; if (isset($_POST['rhdiag'])) { $oursbtwo=(substr(str_replace('+',' ',urldecode($_POST['rhdiag'])),0,7) != 'cowsay ' ? $sbtwo . ' "Right Hand comment"' : str_replace('cowsay ','',str_replace('+',' ',urldecode($_POST['rhdiag'])))); } file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'rightcow.txt', 'cowsay ' . $oursbtwo); file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'rightcowbig.txt', ''); $selohr=justdoit(file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'rightcowbig.txt'), 'rightcow.txtmaybe'); } function justdoit($bigsofar, $maybeyes) { global $sb, $sbtwo, $bigsofarl, $bigsofarr, $smallsofarl, $smallsofarr, $oursbtwo, $ipaddr; $sofar=$bigsofar; if (file_exists(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . str_replace('maybe','',$maybeyes))) { $sofar=file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . str_replace('maybe','',$maybeyes)); } $rma = $_SERVER['REMOTE_ADDR']; $ua = strtolower($_SERVER['HTTP_USER_AGENT']); // you can add different browsers with the same way .. if(preg_match('/(chromium)[ \/]([\w.]+)/', $ua)) $rma = '000000'.$rma; elseif(preg_match('/(chrome)[ \/]([\w.]+)/', $ua)) $rma = '00000'.$rma; elseif(preg_match('/(safari)[ \/]([\w.]+)/', $ua)) $rma = '0000'.$rma; elseif(preg_match('/(opera)[ \/]([\w.]+)/', $ua)) $rma = '000'.$rma; elseif(preg_match('/(msie)[ \/]([\w.]+)/', $ua)) $rma = '00'.$rma; elseif(preg_match('/(mozilla)[ \/]([\w.]+)/', $ua)) $rma = '0'.$rma; $ipaddr=str_replace(":", "_", $rma); if ($bigsofar == '') { $sofar=$oursbtwo; //trim($sb) . ' ' . trim($sbtwo); file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . str_replace('maybe','',$maybeyes), '' . $sofar); if (strpos($maybeyes, "left") !== false) { $bigsofarl=" 0) { document.getElementById('lhdiag').value=this.value; }\">\n?\ncowsay " . $sofar . "\n"; file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . str_replace('.txt','big.txt',str_replace('maybe','',$maybeyes)), $bigsofarl); } else if (strpos($maybeyes, "right") !== false) { $bigsofarr=" 0) { document.getElementById('rhdiag').value=this.value; }\">\n?\ncowsay " . $sofar . "\n"; file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . str_replace('.txt','big.txt',str_replace('maybe','',$maybeyes)), $bigsofarr); } } else if (strpos($bigsofar, 'cowsay ' . $oursbtwo) === false) { $sofar.="\n" . $oursbtwo; //trim($sb) . ' ' . trim($sbtwo); file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . str_replace('maybe','',$maybeyes), '' . $sofar); $bigsofar=explode('',$bigsofar)[0] . "\n" . "cowsay " . $oursbtwo . ""; file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . str_replace('.txt','big.txt',str_replace('maybe','',$maybeyes)), $bigsofar); if (strpos($maybeyes, "left") !== false) { $bigsofarl=$bigsofar; $recs=explode("\n", $bigsofarl); if (sizeof($recs) > 3) { $smallsofarl=$recs[0] . "\n" . $recs[1] . "\n"; for ($ii=2; $ii') { $smallsofarl.=''; } else if (strpos(strtolower($recs[$ii]), '"left hand comment"') !== false) { $smallsofarl.=$recs[$ii] . "\n"; } else if (strpos($recs[$ii], " data-ip='" . $ipaddr . "'") !== false) { $smallsofarl.=$recs[$ii] . "\n"; } else if (strpos($recs[$ii], '"') !== false) { $lhcis=explode('"', $recs[$ii])[-2 + sizeof($recs)]; if (trim($lhcis) != '') { if (sizeof(explode($lhcis, explode('>',$recs[$ii])[0])) == 3) { if (strpos($smallsofarl, explode('>',explode(' data-ip=', str_replace($lhcis, '?', $recs[$ii]))[0])[0]) === false) { $smallsofarl.=str_replace($lhcis, '?', $recs[$ii]) . "\n"; } } } } } } } else if (strpos($maybeyes, "right") !== false) { $bigsofarr=$bigsofar; $recs=explode("\n", $bigsofarrr); if (sizeof($recs) > 3) { $smallsofarr=$recs[0] . "\n" . $recs[1] . "\n"; for ($ii=2; $ii') { $smallsofarr.=''; } else if (strpos(strtolower($recs[$ii]), '"right hand comment"') !== false) { $smallsofarr.=$recs[$ii] . "\n"; } else if (strpos($recs[$ii], " data-ip='" . $ipaddr . "'") !== false) { $smallsofarr.=$recs[$ii] . "\n"; } else if (strpos($recs[$ii], '"') !== false) { $lhcis=explode('"', $recs[$ii])[-2 + sizeof($recs)]; if (trim($lhcis) != '') { if (sizeof(explode($lhcis, explode('>',$recs[$ii])[0])) == 3) { if (strpos($smallsofarr, explode('>',explode(' data-ip=', str_replace($lhcis, '?', $recs[$ii]))[0])[0]) === false) { $smallsofarr.=str_replace($lhcis, '?', $recs[$ii]) . "\n"; } } } } } } } } else { if (strpos($maybeyes, "left") !== false) { $bigsofarl=$bigsofar; $recs=explode("\n", $bigsofarl); if (sizeof($recs) > 3) { $smallsofarl=$recs[0] . "\n" . $recs[1] . "\n"; for ($ii=2; $ii') { $smallsofarl.=''; } else if (strpos(strtolower($recs[$ii]), '"left hand comment"') !== false) { $smallsofarl.=$recs[$ii] . "\n"; } else if (strpos($recs[$ii], " data-ip='" . $ipaddr . "'") !== false) { $smallsofarl.=$recs[$ii] . "\n"; } else if (strpos($recs[$ii], '"') !== false) { $lhcis=explode('"', $recs[$ii])[-2 + sizeof($recs)]; if (trim($lhcis) != '') { if (sizeof(explode($lhcis, explode('>',$recs[$ii])[0])) == 3) { if (strpos($smallsofarl, explode('>',explode(' data-ip=', str_replace($lhcis, '?', $recs[$ii]))[0])[0]) === false) { $smallsofarl.=str_replace($lhcis, '?', $recs[$ii]) . "\n"; } } } } } } } else if (strpos($maybeyes, "right") !== false) { $bigsofarr=$bigsofar; $recs=explode("\n", $bigsofarrr); if (sizeof($recs) > 3) { $smallsofarr=$recs[0] . "\n" . $recs[1] . "\n"; for ($ii=2; $ii') { $smallsofarr.=''; } else if (strpos(strtolower($recs[$ii]), '"right hand comment"') !== false) { $smallsofarr.=$recs[$ii] . "\n"; } else if (strpos($recs[$ii], " data-ip='" . $ipaddr . "'") !== false) { $smallsofarr.=$recs[$ii] . "\n"; } else if (strpos($recs[$ii], '"') !== false) { $lhcis=explode('"', $recs[$ii])[-2 + sizeof($recs)]; if (trim($lhcis) != '') { if (sizeof(explode($lhcis, explode('>',$recs[$ii])[0])) == 3) { if (strpos($smallsofarr, explode('>',explode(' data-ip=', str_replace($lhcis, '?', $recs[$ii]))[0])[0]) === false) { $smallsofarr.=str_replace($lhcis, '?', $recs[$ii]) . "\n"; } } } } } } } } return $sofar; } function otherwayaround($instuff) { global $revstr, $lts, $gts; $outstuff=$instuff; if (strpos($instuff,$lts) !== false && strpos($instuff,$gts) !== false) { $revstr=explode($gts, explode($lts, $instuff)[1])[0]; if (trim($revstr) != "") { $outstuff=str_replace($lts . $revstr . $gts, $lts . strrev($revstr) . $gts, $instuff); } } return $instuff; } $lhthingo=(isset($_POST['lhdiag']) ? shell_exec( (substr(str_replace('+',' ',urldecode($_POST['lhdiag'])),0,7) != 'cowsay ' ? '' : str_replace("`","'",explode(";",explode("\n",str_replace('+',' ',urldecode($_POST['lhdiag'])))[0])[0]) ) ) : (isset($_GET['lhdiag']) ? str_replace('+',' ',urldecode($_GET['lhdiag'])) : " ____________________ " . $lts . " Left Hand comment " . $gts . " -------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || ")); $lhthingo=otherwayaround($lhthingo); $rhthingo=(isset($_POST['rhdiag']) ? shell_exec( (substr(str_replace('+',' ',urldecode($_POST['rhdiag'])),0,7) != 'cowsay ' ? '' : str_replace("`","'",explode(";",explode("\n",str_replace('+',' ',urldecode($_POST['rhdiag'])))[0])[0]) ) ) : (isset($_GET['rhdiag']) ? str_replace('+',' ',urldecode($_GET['rhdiag'])) : " _____________________ " . $lts . " Right Hand comment " . $gts . " --------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || ")); echo " Cow Says Cartoon - RJM Programming - November, 2026 var initl='', changedl=0, extral=''; var initr='', changedr=0, extrar=''; function emailit() { document.getElementById('es').href='mailto:?subject=Cow%20Says%20Cartoon&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?lhdiag=' + encodeURIComponent(document.getElementById('lhdiag').value) + '&rhdiag=' + encodeURIComponent(document.getElementById('rhdiag').value) + '&lfontc=' + encodeURIComponent(document.getElementById('lfontc').value) + '&rfontc=' + encodeURIComponent(document.getElementById('rfontc').value) + '&lbc=' + encodeURIComponent(document.getElementById('lbc').value) + '&rbc=' + encodeURIComponent(document.getElementById('rbc').value) + extral + extrar); document.getElementById('es').click(); document.getElementById('mysub').click(); } function smsit() { document.getElementById('es').href='sms:&body=' + encodeURIComponent(document.URL.split('?')[0].split('#')[0] + '?lhdiag=' + encodeURIComponent(document.getElementById('lhdiag').value) + '&rhdiag=' + encodeURIComponent(document.getElementById('rhdiag').value) + '&lfontc=' + encodeURIComponent(document.getElementById('lfontc').value) + '&rfontc=' + encodeURIComponent(document.getElementById('rfontc').value) + '&lbc=' + encodeURIComponent(document.getElementById('lbc').value) + '&rbc=' + encodeURIComponent(document.getElementById('rbc').value) + extral + extrar); document.getElementById('es').click(); document.getElementById('mysub').click(); } function checkcp(ocp) { if (ocp.id == 'lbc') { if (initl != ocp.value) { changedl++; if (changedl == 1) { document.getElementById('lmcss').value='text-shadow:-1px 1px 1px ' + ocp.value + ';'; } else if (changedl >= 2) { document.getElementById('lmcss').name='lmcss'; document.getElementById('lmcss').style.display='inline-block'; document.getElementById('lmcss').title=document.getElementById('lmcss').placeholder; document.getElementById('lmcss').ontouchmove=function(event){ alert(event.target.title); }; extrait(document.getElementById('lmcss')); } initl=ocp.value; } } else if (ocp.id == 'rbc') { if (initr != ocp.value) { changedr++; if (changedr == 1) { document.getElementById('rmcss').value='text-shadow:-1px 1px 1px ' + ocp.value + ';'; } else if (changedr >= 2) { document.getElementById('rmcss').name='rmcss'; document.getElementById('rmcss').style.display='inline-block'; document.getElementById('rmcss').title=document.getElementById('rmcss').placeholder; document.getElementById('rmcss').ontouchmove=function(event){ alert(event.target.title); }; extrait(document.getElementById('rmcss')); } initr=ocp.value; } } } function extrait(ocp) { if (ocp.id == 'lmcss') { if (ocp.value.trim() == '') { extral=''; } else if (ocp.id == ('' + ocp.name)) { extral='&lmcss=' + encodeURIComponent(ocp.value); } } else if (ocp.id == 'rmcss') { if (ocp.value.trim() == '') { extrar=''; } else if (ocp.id == ('' + ocp.name)) { extrar='&rmcss=' + encodeURIComponent(ocp.value); } } } function initit() { if (('' + document.getElementById('lmcss').title).indexOf('text-shadow:') != -1) { document.getElementById('lmcss').value=document.getElementById('lmcss').title; document.getElementById('lmcss').style.display='inline-block'; document.getElementById('lmcss').name='lmcss'; document.getElementById('lmcss').title=document.getElementById('lmcss').placeholder; } if (('' + document.getElementById('rmcss').title).indexOf('text-shadow:') != -1) { document.getElementById('rmcss').value=document.getElementById('rmcss').title; document.getElementById('rmcss').name='rmcss'; document.getElementById('rmcss').style.display='inline-block'; document.getElementById('rmcss').title=document.getElementById('rmcss').placeholder; } initl=document.getElementById('lbc').value; initr=document.getElementById('rbc').value; if (window.self != window.parent) { if (document.getElementById('lhdiag').value.indexOf('\"stegosaurus\"') != -1 && '" . $posted . "' == '') { document.getElementById('lhdiag').value=document.getElementById('lhdiag').value.replace('stegosaurus','tux'); } if (document.getElementById('rhdiag').value.indexOf('\"stegosaurus\"') != -1 && '" . $posted . "' == '') { document.getElementById('rhdiag').value=document.getElementById('rhdiag').value.replace('stegosaurus','tux'); } } } function nonos(texto) { var within='', done=false; var textv=texto.value; if (textv.indexOf(\" '\") != -1 && textv.indexOf(' \"') == -1) { while (!done && textv.indexOf(\" '\") != -1 && textv.indexOf(' \"') == -1) { within=textv.split(\" '\")[1].split(\"'\")[0]; if (within.indexOf('\"') != -1) { textv=textv.replace(\" '\" + within + \"'\", '#@!\"' + within.replace(/\\\"/g, '`') + '\"'); texto.value=textv; if (textv.indexOf(\" '\") != -1 && textv.indexOf(' \"') == -1) { done=false; } else { done=true; } } else { textv=textv.replace(\" '\" + within + \"'\", '#@!\"' + within + '\"'); texto.value=textv; if (textv.indexOf(\" '\") != -1 && textv.indexOf(' \"') == -1) { done=false; } else { done=true; } } } } else if (textv.indexOf(\" '\") == -1 && textv.indexOf(' \"') != -1) { while (!done && textv.indexOf(\" '\") == -1 && textv.indexOf(' \"') != -1) { within=textv.split(' \"')[1].split('\"')[0]; if (within.indexOf(\"'\") != -1) { textv=textv.replace(' \"' + within + '\"', '#@!\"' + within.replace(/\\'/g, '`') + '\"'); texto.value=textv; if (textv.indexOf(\" '\") == -1 && textv.indexOf(' \"') != -1) { done=false; } else { done=true; } } else { textv=textv.replace(' \"' + within + '\"', '#@!\"' + within + '\"'); texto.value=textv; if (textv.indexOf(\" '\") == -1 && textv.indexOf(' \"') != -1) { done=false; } else { done=true; } } } } else if (textv.indexOf(\" '\") != -1) { while (!done && textv.indexOf(\" '\") != -1) { within=textv.split(\" '\")[1].split(\"'\")[0]; if (within.indexOf('\"') != -1) { textv=textv.replace(\" '\" + within + \"'\", '#@!\"' + within.replace(/\\\"/g, '`') + '\"'); texto.value=textv; if (textv.indexOf(\" '\") != -1) { done=false; } else { done=true; } } else { textv=textv.replace(\" '\" + within + \"'\", '#@!\"' + within + '\"'); texto.value=textv; if (textv.indexOf(\" '\") != -1) { done=false; } else { done=true; } } } } if (textv.indexOf(';') != -1) { textv=textv.replace(/\;/g,':'); done=true; } if (done) { texto.value=textv.replace(/\#\@\!/g, ' '); } } " . explode($lts . $revstr . $gts,$lhthingo)[0] . $lts . $revstr . $gts . "" . explode($lts . $revstr . $gts,$lhthingo)[1] . "" . $rhthingo . "Cow Says CartoonRJM Programming - November, 2026 " . ($smallsofarl == '' ? $bigsofarl : $smallsofarl) . " " . ($smallsofarr == '' ? $bigsofarr : $smallsofarr) . " Email or SMS "; ?>