Jump to content

Need HELP with a creating a script


Sydok

Recommended Posts

Hi,
  I'm trying to write a script that will access a website and look for specific
text on the site using PHP, is this possible using http and also have it not
regisiter as hit on their stats page. I'm trying to create this script for a
Server Monitor, I've seen scripts out there that all they do is check to see
if they can connect to the port but i want this to be able to see if anything
is actually coming up.

Thank you in Advance

Ron
Link to comment
Share on other sites

You could use PHP to execute a ping request or similar, and you could even script it to SSH to the box to verify the webserver is running, but over HTTP you will not be able to request the page without it registering a hit - UNLESS the 'hit scoring' system has an exceptions list and you can add a domain/ip/mac-address/login/authentication/etc. clause.
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.