Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Updatesystem
#8
Hi,
meinst du so etwas vielleicht?
PHP Code:
function check_nach_update($filename)
{
  if (
file_exists($filename))
  {
    
$lines file($filename);
    if (!
$lines)
    {
      die (
'Datei konnte nicht gelesen werden!');
    }
    foreach (
$lines as $key => $value)
    {
      echo 
$key.' => '.$value.'\n';
    }
  }
  else
  {
  die (
'Datei existiert nicht!');
  }
}

$filename 'http://www.example.de/update_info.txt';
check_nach_update($filename); 

LG
Philipp
[Image: foren_banner.jpg]
Reply


Messages In This Thread
Updatesystem - by Yannici - 03.06.2009, 19:21
RE: Updatesystem - by agrafix - 03.06.2009, 22:07
RE: Updatesystem - by Yannici - 03.06.2009, 22:42
RE: Updatesystem - by -superking- - 03.06.2009, 22:45
RE: Updatesystem - by Yannici - 03.06.2009, 22:53
RE: Updatesystem - by -superking- - 03.06.2009, 23:20
RE: Updatesystem - by iNk - 04.06.2009, 05:40
RE: Updatesystem - by Philipp Ranft - 04.06.2009, 13:27
RE: Updatesystem - by Yannici - 04.06.2009, 14:15
RE: Updatesystem - by Milu2K - 04.06.2009, 18:08
RE: Updatesystem - by Yannici - 05.06.2009, 08:53
RE: Updatesystem - by Milu2K - 05.06.2009, 13:54
RE: Updatesystem - by Yannici - 05.06.2009, 17:33
RE: Updatesystem - by -superking- - 05.06.2009, 17:33
RE: Updatesystem - by Yannici - 05.06.2009, 17:35
RE: Updatesystem - by -superking- - 05.06.2009, 17:44



Users browsing this thread: 4 Guest(s)