For Programmers: Free Programming Magazines  


Home > Archive > ASP > May 2006 > Host online or Host Offline?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Host online or Host Offline?
malcolm

2006-05-07, 6:57 pm

Hi, I would like help to get started on an idea. I have prior knowledge of
how to do this so please be gentle with me as I am a complete beginner when
it comes to ASP.



I have a website hosted by an internet host and want to add a PHPBB2 forum
hosted on my own server. What I would like to introduce to my website is
something like this



The forum is online (with a little green image) OR

The forum is OFFLINE (with a little red image)



I have no idea how to or where to get started on this.



Can anyone offer a sample script please?





Regards

Malcolm


Evertjan.

2006-05-07, 6:57 pm

malcolm wrote on 07 mei 2006 in microsoft.public.inetserver.asp.general:

> Hi, I would like help to get started on an idea. I have prior
> knowledge of how to do this so please be gentle with me as I am a
> complete beginner when it comes to ASP.


If you have prior knowledge, how come you are a complete beginner?

> I have a website hosted by an internet host and want to add a PHPBB2
> forum hosted on my own server. What I would like to introduce to my
> website is something like this


"PHPBB2" would be PHP?

Then it is not ASP, where does ASP come in?

> The forum is online (with a little green image) OR
> The forum is OFFLINE (with a little red image)
> I have no idea how to or where to get started on this.


Neither do I, since the info you give is conflicting.

> Can anyone offer a sample script please?


Sorry, I do not speak PHP.
Perhaps a PHP NG. Malcolm?


--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
malcolm

2006-05-07, 6:57 pm



"Evertjan."wrote in message


> If you have prior knowledge, how come you are a complete beginner?




Sorry that was a TYPO

I have NO prior Knowledge on how to do this!


> "PHPBB2" would be PHP?




It makes no difference if the remote location is PHP, ASP or HTML as the
questions is how to use ASP to display one of 2 variables!!



My site hosted HERE wants to display one of 2 icons should the remote host
HERE be online or offline?


> Then it is not ASP, where does ASP come in?


As above.


Evertjan.

2006-05-07, 6:57 pm

malcolm wrote on 07 mei 2006 in microsoft.public.inetserver.asp.general:
> "Evertjan."wrote in message
>
>
> Sorry that was a TYPO
>
> I have NO prior Knowledge on how to do this!
>
>
> It makes no difference if the remote location is PHP, ASP or HTML as
> the questions is how to use ASP to display one of 2 variables!!


So your host has ASP?

> My site hosted HERE wants to display one of 2 icons should the remote
> host HERE be online or offline?
>
>
> As above.


<img src='http://www.myPHPsite.xyz/PHPsiteImages/greenOnLine.jpg'
onerror='this.src="/imagesOnASPsite/redNotOnLine.jpg"'>

No ASP necessary!

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
malcolm

2006-05-07, 6:57 pm


"Evertjan." wrote in message
>
> <img src='http://www.myPHPsite.xyz/PHPsiteImages/greenOnLine.jpg'
> onerror='this.src="/imagesOnASPsite/redNotOnLine.jpg"'>
>
> No ASP necessary!
>


LOL that easy eh!!

See told you I never had a clue!

Thanks for taking the time to show me how to do this.

Malcolm


Mike Brind

2006-05-07, 6:57 pm


malcolm wrote:
> "Evertjan." wrote in message
>
> LOL that easy eh!!
>
> See told you I never had a clue!
>
> Thanks for taking the time to show me how to do this.
>


You've been here for help a couple of times now, and yet you thought it
was appropriate to spam the newsgroup with other irrelevant stuff about
bank charges. You should consider yourself very fortunate indeed if
you get any help here again in the future.

--
Mike Brind

malcolm

2006-05-18, 6:56 pm


"Mike Brind" <paxtonend@hotmail.com> wrote in message
> You've been here for help a couple of times now, and yet you thought it
> was appropriate to spam the newsgroup with other irrelevant stuff about
> bank charges. You should consider yourself very fortunate indeed if
> you get any help here again in the future.


Please accept my sincere apology for any offence caused by submitting "Spam"
to your newsgroup Mike. You people have helped me and I thought that I could
also help you! Bank charges are an evil scourge on poor innocent people from
all over. I honestly thought that no one would object to this?



Please accept my sincere apology, I would like to offer to place a link or
add to your news group on the main page of the site.



Should you wish to accept I would be most grateful?





Malcolm


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com