[xiph-commits] r11638 - branches/oggdsf_ce_port/website
illiminable at svn.xiph.org
illiminable at svn.xiph.org
Sat Jun 24 02:43:02 PDT 2006
Author: illiminable
Date: 2006-06-24 02:42:58 -0700 (Sat, 24 Jun 2006)
New Revision: 11638
Added:
branches/oggdsf_ce_port/website/version_check.php
Log:
* Super crude online version check
Added: branches/oggdsf_ce_port/website/version_check.php
===================================================================
--- branches/oggdsf_ce_port/website/version_check.php 2006-06-24 09:10:53 UTC (rev 11637)
+++ branches/oggdsf_ce_port/website/version_check.php 2006-06-24 09:42:58 UTC (rev 11638)
@@ -0,0 +1,28 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+ <title>oggcodecs Version Check</title>
+ <meta name="description" content="Directshow Ogg demuxer/muxer with vorbis, speex, FLAC and theora decoders and encoders.">
+ <meta name="keywords" content="directshow, theora, vorbis, speex, ogg, media player, flac, codec, windows, audio, video, wmp, directX, plugin, plug-in, decoder, encoder, demux, mux, demuxer">
+</head>
+
+<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#DD0000" alink="#FF0000">
+<?php
+ $x=$_GET['version'];
+ $v='0.71.0946';
+
+ if (strcmp($x, '') == 0) {
+ echo 'Invalid request';
+ } else {
+
+ if (strcmp($v, $x) > 0) {
+ echo 'New version ', $v, ' is available';
+ } else {
+ echo 'No new version available. Current version is ', $v;
+ }
+ }
+?>
+
+
+</body>
+</html>
\ No newline at end of file
More information about the commits
mailing list