R
Robert T.
I have a PHP script that displays my online status and shows a window
if I am online, or doesn't show anything if I am offline.
I'd like to include the content of this remote PHP file inside a web
page using JS. I have created an xmlHttpRequest script to do that but
it doesn't work as expected... It should work just like the status.php
file, but instead, the content doesn't show up in IE, and in Opera, it
it stuck in the upper-left corner...
Here's the PHP script: http://www.pontaltur.com.br/status.php
Here's a dumb plain text file with "1" written in it:
http://www.pontaltur.com.br/status.txt
and here's the location of the script:
http://www.pontaltur.com.br/ajax/
Maybe there is a nicer way of doing so?
Thanks,
if I am online, or doesn't show anything if I am offline.
I'd like to include the content of this remote PHP file inside a web
page using JS. I have created an xmlHttpRequest script to do that but
it doesn't work as expected... It should work just like the status.php
file, but instead, the content doesn't show up in IE, and in Opera, it
it stuck in the upper-left corner...
Here's the PHP script: http://www.pontaltur.com.br/status.php
Here's a dumb plain text file with "1" written in it:
http://www.pontaltur.com.br/status.txt
and here's the location of the script:
http://www.pontaltur.com.br/ajax/
Maybe there is a nicer way of doing so?
Thanks,