[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Reversed arrow in HTML export + i18n bug

From: Petr Kadlec
Subject: Re: [Bug-gnubg] Reversed arrow in HTML export + i18n bug
Date: Wed, 11 Feb 2004 18:51:04 +0100

At 17:33 11.02.2004 +0100, you wrote:
Ha ha! Cool! This is written i php?

Yes, but most of it is just a conversion of your C code to PHP (boring work...). I was even thinking about creating a php script that would return a complete PNG image of the board, which would be perfect for inclusion in other pages (and it would be much more cool :) ), but I don't have the time right now to do that.

I've made a similar system in Python for the webpages (that now gone).
My system calls the html-code from a python script. In addition I can
embedd backgammon boards into the html code.

You mean you call the actual C code from Python, so there is an executable of gnubg running? Or have you done the same as myself, only in Python instead of PHP?

Can you make a similar systemin php? Maybe like:

<?php board("posid","matchid","name0", "name1"); ?>

Well, it would require a little bit of cleaning, but why not... Until then, anyone interested can take a look at the source at http://mormegil.wz.cz/bg/decode_core.php.gz (but really, it is nothing special...furthermore it is my first php script, and it probably looks like that...).


P.S. Sorry to Oystein, I forgot to do a CC to the group (and there was a mistake in the URL).

-- -----------------------------------------------------------
If I had know I'd live this long, I'd have taken better care of myself.(from Jay Young)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]