0

I was wondering because I know that you can do things such as create a website using php and such. And then there can be an instllable file, one for the user one for the admin. Then there can be mobile apps that all run on the same database. My question is: Is it possible to run other code like c# on the same database with PHP?. I was wondering because I've made a game in c# and was wondering I could run it on the same database, and have things from the game show on the website. And also have something like paypal on the website where they can make purchases for the game on the website. And have their game update with whatever they just bought.

3
Contributors
3
Replies
22
Views
3 Years
Discussion Span
Last Post by almostbob
0

Yes, it is possible in Phalanger and ASP.net environment.

I lifted these codes from this website.

<b>Camels created: </b><?= Class1::$CamelsProcessed ?><br/>
<b>Previous camel: </b><?= Class1::$LastCamel ?><br/>

<?php
    $x = new Class1;
    $growncamel = $x->MakeCamelFromGet(); // $x->Camel( $_GET['babycamel'] );
    if ($growncamel):
    ?><h2><?= $growncamel ?></h2><?
    endif;
?>

Noticed, how seamlessly the PHP instantiate the C# class named Class1? I think that is pretty cool...

Edited by veedeoo: info added.

0

We can pretty much do anything with PHP :). Just the thought of it, makes you feel proud writin high quality codes in PHP.

0

Yes, emphatically yes
many game lobbies run the game in C, the game backend in perl, the frontend website in php, from the same database,
perl and C give rapid non-sequential, simultaneous db access, to thousands of players
php gives a website, where the user can trade for, or buy, game stuff.
If you think, playstation dot com, yep
or
Xbox live, you'd only be wrong because that site uses asp

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.