Jump to content

Archived

This topic is now archived and is closed to further replies.

Airborne328

NuB who needs help

Recommended Posts

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 updated


I 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 htm

http://www.combatlifesavers.us/aasadata/ServerCheck.htm

When 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 appreciated

Thanks in advance

Share this post


Link to post
Share on other sites
Are you sure you have that [b]streaming.php[/b] file created ?

Share this post


Link to post
Share on other sites
Yes the streaming.php file created and sits in the same folder as the ServerCheck.htm


aasadata/ServerCheck.htm
aasadata/streaming.php

I am assuming I am missing the code/page to do the actually search, that where I am a NuB and stuck ???

edit

Now 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 ??? 

Share this post


Link to post
Share on other sites
what this all about ?


Put the ip's in a database and do a check if the ip exist goto that page simple.

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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 similar

http://www.anticheatinc.com/forums/index.php

Now 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.

Share this post


Link to post
Share on other sites
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. :)

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.