Can you connect with PHP
Can you connect with PHP
Hi, i am making a register script in PHP, and was wondering if you could connect to SmartFox server, to register the details to the DATABASE. I could set it up to connect to the database through PHP but the database only allows local connections, considering i am hosting it on BlueHost, and i don't use MySQL with SmartFox
-
- Posts: 87
- Joined: 07 Aug 2009, 11:01
Hi, i am making a register script in PHP, and was wondering if you could connect to SmartFox server, to register the details to the DATABASE.
This would complicate things alot. PHP has a nice native API to talk to MySQL and other databases. It's much better to share the same database across both PHP and SmartFoxServer.
Talking via PHP to SFS is possible only by creating a specific API that speaks the SFS protocol.
You mean SmartFox?
If you run version 1.6.5 or higher make sure to that <ServerIP> in your config.xml is set to:
This will bind all available IP addresses available on your machine.
If you run version 1.6.5 or higher make sure to that <ServerIP> in your config.xml is set to:
Code: Select all
<ServerIP>*</ServerIP>
This will bind all available IP addresses available on your machine.
Who is online
Users browsing this forum: No registered users and 37 guests