Wayne,
I have never played with VBScript before and am thinking I might have something simple wrong here.
In your original post you provided this:
Code: Select all
<script TYPE="text/vbscript" language="VBScript" src="scripts.vbs">
I understand that this goes in the header of the calling html page and that the actual script sits in the src 'scripts.vbs'. I take it that this page executes the subroutine from scripts.vbs and should then carry the value direct to autologin.php, Yes?
What I have is three pages.
The first is the initiating page which calls the sub, I have it like this:
Code: Select all
<html>
<head>
<script TYPE="text/vbscript" language="VBScript" src="scripts.vbs">
<body onLoad="User();">
</script>
</head>
</body>
</html>
The second page is the scripts.vbs.
The third is the php page in which Im testing for the variable, something like this:
Code: Select all
<html>
<head>
<title>Untitled</title>
</head>
<body>
<?php
echo "Username = $username";
?>
</body>
</html>
Having read your last I think I may have the bull by the wrong end. Can you confirm/deny this for me?
Hebbs