Reply to newbie: writing "includes" in HTML

Your name:

Reply:


Posted by Dan Blather on 07/09/05 03:36

Hi,

i'm useing 2 servers to host my site, one is a "backup" in case the other
fails, or to handle overflow bandwidth.
I want to create a little ID tag to implant at the bottom of my home page to
let me know which server I am logging in to with my browser.

i thought that using php or javascript i could create a simple little
"document.write" statment, ID'ing the server that I could call from the
bottom of the web-page, either with a simple <script src ...> javascript
tag. I tried it with Javascript, but I got a bizarre message "code
corrupted. Insert fresh copy" written into the bottom of the web page (which
I have NEVER gotten using Javascript before, usually the browser debugger
does the reporting!)

if anyone could coach me on how to use a simple PHP include statement (i
assume i could hide the php statement with the server ID tag in my
cgi-bin?), I would certainly appreciate it...

thanks,

Phil

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация