Page 1 of 1

Dialog between php and SFS extension

Posted: 26 Jul 2011, 05:38
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

Posted: 02 Sep 2011, 20:29
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.

Posted: 03 Oct 2011, 06:14
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.