musica2 Posted October 26, 2018 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 12 Reputation: 1 Joined: 10/06/18 Last Seen: May 29, 2023 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 Link to comment Share on other sites More sharing options...
0 Normynator Posted October 26, 2018 Group: Developer Topic Count: 7 Topics Per Day: 0.00 Content Count: 292 Reputation: 199 Joined: 05/03/13 Last Seen: May 26, 2023 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. Link to comment Share on other sites More sharing options...
0 musica2 Posted October 26, 2018 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 12 Reputation: 1 Joined: 10/06/18 Last Seen: May 29, 2023 Author Share Posted October 26, 2018 wish i could, Link to comment Share on other sites More sharing options...
0 Vykimo Posted October 26, 2018 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 236 Reputation: 189 Joined: 11/27/11 Last Seen: August 4, 2024 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 Link to comment Share on other sites More sharing options...
0 musica2 Posted October 26, 2018 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 12 Reputation: 1 Joined: 10/06/18 Last Seen: May 29, 2023 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? Link to comment Share on other sites More sharing options...
0 Vykimo Posted October 28, 2018 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 236 Reputation: 189 Joined: 11/27/11 Last Seen: August 4, 2024 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/ Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
5 answers to this question
Recommended Posts