Forum Moderators: open
plz see [test.mls-panama.com...]
at top-right corner there is a link "tell to friend", which on click will open a separate box with a form.
this link is working when i name this page index.html but it doesn't work when i rename it with .shtml extension i.e. "index.shtml"
what's the problem and how to resolve it, please help urgent.
thanx a lot for reading.
-
aryan
<a href="javascript:tell_to_friend('<?PHP = $_SERVER['SCRIPT_NAME'];?>')"> Tell a friend</a>
if it's really a .shtml format you want it would be something along the lines of:
<a href="javascript:tell_to_friend('<!--#include virtual="cgi-bin/SCRIPT_NAME"-->')">Tell a friend</a>
In either case that SCRIPT_NAME should be replaced with the name of a script file that actually exists.