Reply to html to shtml

Your name:

Reply:


Posted by Gary on 01/09/07 08:59

Hello,

I recently added a small script anippet to my user form
to include the user's IP address in the form return. It also displays
the user's IP in a read-only text box.

The snippet is this:

<input type="text" name="ipaddr" value="<!--#echo var="REMOTE_ADDR"-->"
readonly>

The author of the script advised changing the web-page extention from
"html" to "shtml" and making sure that SSI was enabled at a server
level. My SSI was in fact, turned off at server level, but I did enable
it as per instructions.

Now, IE6 will easily display the "shtml" page as it should be displayed,
with the read-only text box showing IP number as indicated.

However, Opera and Firefox (most recent versions) display the source
code of the SHTML page, instead of rendering the page properly.

I am not familiar with the nuances of SHTML. Is there any special
formatting needed for FF & Opera to render this properly?

thanks for any assistance....

Gary

[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

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