Jump to content

NuB who needs help


Airborne328

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.