Jump to content


Photo

Need HELP with a creating a script


  • Please log in to reply
2 replies to this topic

#1 Sydok

Sydok
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 16 August 2006 - 09:39 AM

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

#2 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 16 August 2006 - 09:44 AM

When a page hits the site it will be a hit ok.

look into rss ok.
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#3 Jenk

Jenk
  • Members
  • PipPipPip
  • Advanced Member
  • 778 posts

Posted 16 August 2006 - 01:18 PM

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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users