Hi,
I assume that you are trying to get the source of your OWN page. You will need to create a page that will automatically 'POST' itself back to yourself:
<html>
<header>
<script language="jscript">
function window.onload() {
mySource.value=document.body.innerhtml;
myForm.submit();
}
</script>
</header>
<body>
<form method=post>
<input id="myForm" type="hidden" name="pageAction" value="reEntry">
<input id="mySource" type="hidden" name="mySource" value="">
</form>
This is my HTML page.
Contains <b>some bold stuff</b>
<%
dim vsPageAction, vsMySource
vsPageAction = lcase( trim( request("pageAction" ) )
vsMySource = trim( request("mySource" )
if vsPageAction = "reentry" then
--do whatever you want with vsMySource--
end if
%>
</body>
</html>
The concept something like this. I wrote the code on the fly, so it might have bugs ...
regards,
- JOseph
============== ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
Shopping -->
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.