Airborne328 Posted August 5, 2006 Share Posted August 5, 2006 Hello eveyone. First I hope I am posting in the right place.I am trying to c reate a simple check system/code, that will check against a list of server IP's that is kept updatedI have created a folder "aasadata" and placed within it a ServerCheck.htm and the streaming.php "showign the list of streaming IP's"Below is the htmhttp://www.combatlifesavers.us/aasadata/ServerCheck.htmWhen I enter say my servers IP of 208.167.224.122. which I know is streaming i get [quote]The page cannot be found[/quote]Addy for that..[code]http://www.combatlifesavers.us/aasadata/streaming.php?serverip=208.167.224.122&serverport=1716[/code]I am assuming my error is not having the secondary code page for the actual search. Thing is, I am a NuB at doing this, and I am stuck. Dont know where to start to create this simple code page.Below is the source code for my ServerCheck.htm[quote]<style type="text/css"><!--body,td,th { color: #FFFFFF;}body { background-color: #000000;}--></style><img src="aasa.gif"><form action="streaming.php" method="GET">Server IP : Port(if necessary)<br><input type="text" name="serverip" size="15" maxlength="15">:<input type="text" value="1716" name="serverport" size="5" maxlength="7"><input type="submit" value="Check streaming"></form>[/quote]Any help or info would be greatly appreciatedThanks in advance Quote Link to comment Share on other sites More sharing options...
hackerkts Posted August 5, 2006 Share Posted August 5, 2006 Are you sure you have that [b]streaming.php[/b] file created ? Quote Link to comment Share on other sites More sharing options...
Airborne328 Posted August 5, 2006 Author Share Posted August 5, 2006 Yes the streaming.php file created and sits in the same folder as the ServerCheck.htmaasadata/ServerCheck.htmaasadata/streaming.phpI am assuming I am missing the code/page to do the actually search, that where I am a NuB and stuck ???editNow reviewing, I see needed to change the name of php, to streaming.php, I had it originally StreamingServer.php. But instead of it searching and giving and answer "yes" or "no" your streaming now. It takes you to the streaming page. ???NuB in desperate need of assistance >:( :( :o ??? Quote Link to comment Share on other sites More sharing options...
redarrow Posted August 5, 2006 Share Posted August 5, 2006 what this all about ?Put the ip's in a database and do a check if the ip exist goto that page simple. Quote Link to comment Share on other sites More sharing options...
king arthur Posted August 5, 2006 Share Posted August 5, 2006 What is the code in streaming.php you are having a problem with, what does it do or not do and what do you actually want it to do? Quote Link to comment Share on other sites More sharing options...
Airborne328 Posted August 5, 2006 Author Share Posted August 5, 2006 If you got to this link, you see uptop >> Check if server is streaming << Click it and enter any IP, you get a response of yes or no to your streaming. I am trying to some thing similarhttp://www.anticheatinc.com/forums/index.phpNow when you try what I have done "posts above", you go directly to the streaming.php. So it seems I am missing a search function, just not sure what to do in order to create it. Quote Link to comment Share on other sites More sharing options...
hackerkts Posted August 6, 2006 Share Posted August 6, 2006 You need to edit your [b]streaming.php[/b],at the page you should have something like...[code]<?php$serverip = $_GET['serverip'];$serverport = $_GET['serverport'];if (isset($serverip)){ if (isset($serverport)) { // here will be the scripts that checks the online status. }}?>[/code]P.S: I don't know how your online status works, so I can't give you the exact script.\Btw... Don't call yourself a noob, you just need more pratices. :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.