Changeset 154 for client/download.php


Ignore:
Timestamp:
Nov 25, 2007, 8:32:46 PM (17 years ago)
Author:
maron
Message:

Log do database

File:
1 edited

Legend:

Unmodified
Added
Removed
  • client/download.php

    r153 r154  
    11<?php
    2    $Obsah = file_get_contents('download.log');
    3    $Soubor = fopen('download.log', 'w+');
    4   fputs($Soubor,'
    5   U¾ivatel si stáhl program '.$_SERVER['REMOTE_ADDR'].$Obsah);
    6   fclose($Soubor);
     2  include '../global.php';
     3    ShowHeader();
    74
     5    $Database->select_db('wow');
     6    $Database->query("INSERT INTO wow.LogDownloadClient VALUES ('1', '".$_SERVER['REMOTE_ADDR']."')");
    87?>
     8
     9  Jestli stahování nezaène hnet kliknìte <A href="InstalaceHeroesOfFantasyClient-3,0.exe">zde</A>.
    910  <script>
    1011  parent.location.href='InstalaceHeroesOfFantasyClient-3,0.exe';
    1112  </script>
    1213
     14<?
     15  ShowFooter();
     16?>
     17
    1318 
    14   Jestli stahování nezaène hnet kliknìte <A href="InstalaceHeroesOfFantasyClient-3,0.exe">zde</A>.
Note: See TracChangeset for help on using the changeset viewer.