Jump to content

tgp1994

Members
  • Posts

    15
  • Joined

Profile Information

  • Gender
    Not Telling

tgp1994's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Ok, I got that client script, the only problem though is Eclipse puts up a stink about the variable $xml, saying "write occurance of $xml". I'm just having trouble converting it to use pre-provided variables ($) from the forms you think I'm using.
  2. Ok, it turns out that $_GET is supposed to get information from forms. That's why it wasn't working Doesn't seem to be able to contact a computer on my network, though. I tried running a ping command in cmd prompt, but for some odd reason it looks like the ping program doesn't exist in my computer :S I don't get this. This is way too strange. Well, moving on... Do you know the source engine? I was wondering if it would be possible to retrieve information from a source engine game server through php.
  3. Ok, I changed it, still didn't fix it. Is it possible that I need to actually define something manually, since it says Undefined index?
  4. Ya, that still doesn't seem to change the two errors above, unless the script is correct. If anyone else would like to pitch in, that would be great.
  5. Ok, but there actually isn't an includes directory in my php installation. Is that a problem? EDIT: And here's what I think the line should look like now: include_path = ".;c:\\WAMP\\bin\\php\\php5.2.9-2\\includes;c:\\WAMP\\bin\php\\php5.2.9-2\\PEAR" Does it seem right? Cause I still got the same two errors. Remeber, I still don't have an includes directory.
  6. Weird, still gives me an error. Is there something I need to manually change in the php.ini file? EDIT: Ok, I uncommented the include_path option and put in the PEAR directory, but now the error reads: Notice: Undefined index: count in C:\wamp\www\serverchecker\index.php on line 5 Notice: Undefined index: ip in C:\wamp\www\serverchecker\index.php on line 7
  7. Lol I'm not sure if this is needed, but I think I may have to restart Apache. Otherwise, would you happen to know why it's saying: Fatal error: require_once() [function.require]: Failed opening required 'Net/Ping.php' (include_path='.;C:\php5\pear') in C:\wamp\www\serverchecker\index.php on line 9
  8. Lol ok, thanks. I edited the above post, btw. EDIT: Nevermind, turns out I had to go to the PHP directory rather than PHP\PEAR. Downloading the thing now.
  9. Thank you, but the PEAR installation will most likely different for me since: 1.PHP installation failed when I was using IIS for unknown reasons, so: 2.I got WAMP, works awesomely Thus, I think somehow I will mess up with the installation of PEAR, unless it comes with WAMP. EDIT: Ok, I installed pear, and I navigate to the folder you suggested, (except a little different since I use WAMP), then it says: 'pear' is not a recognized internal or external command. And there doesn't seem to be a pear.exe file in there, anyways.
  10. And just so we know, I'm running Windows Server 2003 incase that makes a difference.
  11. Ya, I don't see it return anything. So does anyone have a working example?
  12. And can I get it to echo the result of each individual ping?
  13. Well, I am my own host, so anything goes by me. So do you have an example for this?
  14. Wow, thanks for the fast replies, guys. You should all hang out in the IRC room. Anyways, does anyone have any examples, preferably small ones? If the GD image library is too much, then I won't bother. And does anyone know why I have to do this image verification everytime I make a topic or reply?
  15. Hi there everyone, I'm trying to make a server pinger that pings my Garry's Mod game server to see if it's up. This shouldn't be very difficult, but it is for me since I'm new. As an added bonus, does anyone know if I can have it put text into a picture, with player info and such?
×
×
  • 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.