hi again. i need to know what to put in the frame src of a html page generated by CGI.
here is my code for frameset creation...
sub printFrame {
print $q->header();
print <<End;
<html><head><title>Test Frames</title></head>
<frameset cols="40%,*">
<frame src="???" name="navi">
<frame src="???" name="target">
</frameset>
</html>
End
exit(0);
}
i want to display "contents.htm" in the navi frame and "main.htm" in the target frame. the files are located at a different folder from the "frames.cgi" script. for example...
C:\Apache\cgi-bin\Test\frames.cgi
C:\Apache\htmldocs\Test\contents.htm
C:\Apache\htmldocs\Test\main.htm
do you put the full path in the src value like (htmldocs is set to be the web page server folder in Apache) or just ../Test/contents.htm ???
i tried both ways... and it's a no-go. help!!!
here is my code for frameset creation...
sub printFrame {
print $q->header();
print <<End;
<html><head><title>Test Frames</title></head>
<frameset cols="40%,*">
<frame src="???" name="navi">
<frame src="???" name="target">
</frameset>
</html>
End
exit(0);
}
i want to display "contents.htm" in the navi frame and "main.htm" in the target frame. the files are located at a different folder from the "frames.cgi" script. for example...
C:\Apache\cgi-bin\Test\frames.cgi
C:\Apache\htmldocs\Test\contents.htm
C:\Apache\htmldocs\Test\main.htm
do you put the full path in the src value like (htmldocs is set to be the web page server folder in Apache) or just ../Test/contents.htm ???
i tried both ways... and it's a no-go. help!!!