musica2 Posted October 26, 2018 Share Posted October 26, 2018 Hello, it is possible to connect custom made php website with registration/server status/etc codes without using fluxcp to SQL database? if it does possible, how can i make it works without using flux cp? can any1 give me some guides? thx Quote Link to comment Share on other sites More sharing options...
0 Vykimo Posted October 28, 2018 Share Posted October 28, 2018 It's way more complex… https://www.google.com/search?source=hp&ei=74_VW56QI8iSa7iAiNAI&q=registration+form+php&oq=registration+form+php&gs_l=psy-ab.3..0l4j0i203k1j0l2j0i203k1j0l2.954.2767.0.2933.23.8.0.0.0.0.471.471.4-1.1.0....0...1c.1.64.psy-ab..22.1.469.0...0.u7hnBI2yUfA is a good start… but you should use fluxcp or one another CP if you've no experience in webcoding. You've many alternatives here : https://rathena.org/board/forum/117-web-releases/ Quote Link to comment Share on other sites More sharing options...
0 Normynator Posted October 26, 2018 Share Posted October 26, 2018 You have to implement it on your own, you can use flux as a reference, since its already coded there. Quote Link to comment Share on other sites More sharing options...
0 musica2 Posted October 26, 2018 Author Share Posted October 26, 2018 wish i could, Quote Link to comment Share on other sites More sharing options...
0 Vykimo Posted October 26, 2018 Share Posted October 26, 2018 (edited) yes and it's quite easy to code if you've PHP skills. If not, please consider using FluxCP instead... Example of simple status server check : /* Usage: $status = GetServerStatus('http://domain.com',80) or $status = GetServerStatus('IPAddress',80) */ <?php function GetServerStatus($site, $port) { $status = array("OFFLINE", "ONLINE"); $fp = @fsockopen($site, $port, $errno, $errstr, 2); if (!$fp) { return $status[0]; } else { return $status[1];} } ?> Edited October 26, 2018 by Vykimo Quote Link to comment Share on other sites More sharing options...
0 musica2 Posted October 26, 2018 Author Share Posted October 26, 2018 3 hours ago, Vykimo said: yes and it's quite easy to code if you've PHP skills. If not, please consider using FluxCP instead... Example of simple status server check : /* Usage: $status = GetServerStatus('http://domain.com',80) or $status = GetServerStatus('IPAddress',80) */ <?php function GetServerStatus($site, $port) { $status = array("OFFLINE", "ONLINE"); $fp = @fsockopen($site, $port, $errno, $errstr, 2); if (!$fp) { return $status[0]; } else { return $status[1];} } ?> yep i think so, and how about the registration form? Quote Link to comment Share on other sites More sharing options...
Hello, it is possible to connect custom made php website with registration/server status/etc codes without using fluxcp to SQL database?
if it does possible, how can i make it works without using flux cp?
can any1 give me some guides?
thx
Link to comment
Share on other sites