Webmaster Forums 101 - Free Help and Discussions
 
 
 

MEMBER REWARDS - Earn free advertising by participating in these forums! Click here for details.

Welcome to Webmaster Forums 101!

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Reply
 
Thread Tools Search this Thread Display Modes
Old 3rd January 2004, 06:36 PM   #1

Username: mesh
Rank: WF101 Newbie
Join Date: Jan 2004
Posts: 2
Points: 0.00
Default Checking If EXTERNAL website is online..

hi, im looking for a script that will check an external website, every so often say 30 minutes. now i no there is one as a guy on another forum mentioned he used one. But can not remember what its called.

Can some one point me into a direction on where i should be looking or searching for, or how i can get hold of?

He mentioned it to be in a PHP script language.

Cheers
mesh is offline   Reply With Quote
Old 7th January 2004, 11:23 AM   #2
Mr. Tech's Avatar

Username: Mr. Tech
Rank: Problem Solver
Join Date: Dec 2004
Location: Gold Coast, Australia
Posts: 2,166
Points: 1,025.61
Send a message via MSN to Mr. Tech
Default

Do you mean checking if the website exists?
__________________
Please read the Forum Rules

Get rewarded for posting
- free advertising!

.::. [ Webmaster Resources ] .::. [ Web Design ] .::. [ Developer Tutorials ] .::.
Mr. Tech is offline   Reply With Quote
Old 8th January 2004, 04:09 AM   #3

Username: mesh
Rank: WF101 Newbie
Join Date: Jan 2004
Posts: 2
Points: 0.00
Default

yep
mesh is offline   Reply With Quote
Old 8th January 2004, 09:06 AM   #4
Mr. Tech's Avatar

Username: Mr. Tech
Rank: Problem Solver
Join Date: Dec 2004
Location: Gold Coast, Australia
Posts: 2,166
Points: 1,025.61
Send a message via MSN to Mr. Tech
Default

Try this code:

Code:
<?php function check($sitesurl) { if (@file($sitesurl)) { $file = "true"; } else { $file = "false"; } return $file; } if (check("http://www.webmaster-resources101.com") == "true") { print "It exists!"; } else { print "It don't exist!"; } ?>
__________________
Please read the Forum Rules

Get rewarded for posting
- free advertising!

.::. [ Webmaster Resources ] .::. [ Web Design ] .::. [ Developer Tutorials ] .::.
Mr. Tech is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
BEFORE YOU POST: Website Design Reviews Rules Mr. Tech Website Design Reviews 0 3rd February 2005 11:43 AM
Website Mirroring hrhk12 Search Engine Discussion and Optimization 0 15th June 2004 09:19 PM
Free Tools: Promote Your Website! thorn23 Promotion and Marketing 0 23rd September 2003 10:44 PM
Help me with a news website!! cyber_mania Software & Hardware Help 1 27th March 2003 06:09 PM
Problem with News Website which is uploaded daily cyber_mania Website Design & Coding 1 13th March 2003 10:04 AM

Login
User Name
Password


Featured Members


Featured Links


Useful Resources
Webmaster Resources
Developers Tools
Developer Tutorials


Partners

All times are GMT +10. The time now is 08:13 AM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.3.2
 
 
WEBMASTER FORUMS 101
ARCHIVE
CONTACT US
TOP
   
© Webmaster Forums 101 2005. All Rights Reserved.
Design by: vBCore