Dialog between php and SFS extension

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

Post Reply
sennin31
Posts: 10
Joined: 26 Jul 2011, 05:33

Dialog between php and SFS extension

Post by sennin31 »

Hello,

sorry if this topic has already been discussed, but I did'nt found it in my research.

Is there a way to enable a communication between a sfs extension and a php file?

Something like that :

Do something in PHP -> contact the sfs extension -> contact unity3D -> do something

Is that possible? Like using as2 event or something else?

Thanks,

Sennin
Flappi282
Posts: 158
Joined: 20 May 2009, 17:51
Contact:

Post by Flappi282 »

Nope, PHP can't directly contact an extension without creating a socket (which would be very annoying and hard to maintain).

You can use loadVariables from the extension to make queries to PHP files.
--
Flappi282
sennin31
Posts: 10
Joined: 26 Jul 2011, 05:33

Post by sennin31 »

Flappi282 wrote:Nope, PHP can't directly contact an extension without creating a socket (which would be very annoying and hard to maintain).

You can use loadVariables from the extension to make queries to PHP files.
Thanks for the answer, I've done database queries from my extension to knows if something change in my database.
Post Reply