Hi,

we have a page where we have our host status like up/down and many others. I just wanted to write a php scripts which finds the host up/down and only displays this in homepage.

How can we perform this task.

You're not a developer right ?
It would normally be a copy - paste job, depends on the code and how messed it is.

Not sure your question is clear. You would like to have on the homepage of you site or any page of you site display the server status?

php script to check if the server is up or down, then display the status on the page?

like this: Click Here

Member Avatar for diafol

What you mean up/down?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.