You are here: Re: Sending data form a vb program too a mysql DB « PHP Programming Language « IT news, forums, messages
Re: Sending data form a vb program too a mysql DB

Posted by Dag Sunde on 11/14/06 15:51

James wrote:
> Hello, as this falls under both VB and PHP I have posted this into two
> newsgroups (this is the first time I've done this so if it is mucked
> up then I'm sorry).
>
> Anyway I want to make some simple games with in VB 6.0 and then I want
> the highscores to go to the server (which uses PHP and MySQL). And if
> its possible I would also like the highscores to be viewable on the
> program AND on my site.
>
> PHP Part:
> I think I need to set MySQL up so it can be accesssed from outside of
> the server, but I'm not sure.
>

Are you saying that your VB apps are installed on the users machines,
but that you want the high-scores to be saved on the mySQL database
residing on your web-server?

If so, write a php-script that takes i.e. username and highscore as
params, and make that phpscript do the db-writing on the server.

From vb, use the XmlHttp object or one of its siblings to POST
the data to this php-script on the server.

To view the high-scores, use the same principle. (Do it from php, and
when your vb client needs it, Use HTTP).

--
Dag.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация