musica2 Posted October 26, 2018 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
0 Vykimo Posted October 28, 2018 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/
0 Normynator Posted October 26, 2018 Posted October 26, 2018 You have to implement it on your own, you can use flux as a reference, since its already coded there.
0 Vykimo Posted October 26, 2018 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
0 musica2 Posted October 26, 2018 Author 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?
Question
musica2
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
5 answers to this question
Recommended Posts