variables without the coding

I am struggling with a page that has the variables but not the coding and it works…

When you log in you get internet access, and it redirects you to google, but I want it to redirect to a different page that I have created, but when I do that, it doesn’t log you in and you don’t have internet access…

All the variables are there but I can’t find a link or any .php files that contain the function for the variables.

help?

Can you post the code?

This is the log in page: (I want this to redirect to a different page and not to google; This is basically all the coding in this page)

[php]

$(if chap-id)
<script type="text/javascript" src="/md5.js"></script>
<script type="text/javascript">
<!--
    function doLogin() {
	document.sendin.username.value = document.login.username.value;
	document.sendin.password.value = hexMD5('$(chap-id)' + document.login.password.value + '$(chap-challenge)');
	document.sendin.submit();
	return false;
    }
//-->
</script>

$(endif)

                <form name="login" action="$(link-login-only)" method="post"
				    $(if chap-id) onSubmit="return doLogin()" $(endif)>
					<input type="hidden" name="dst" value="$(link-orig)" />
					<input type="hidden" name="popup" value="true" />
						<table width="254" align="right" style="margin-right:145px;">
							<tr>
							  <td align="right">Voucher Number:</td>
									<td><input style="width: 100px" name="username" type="text" value="$(username)"/></td>
							</tr>
							<tr>
							  <td align="right">Voucher Password:</td>
									<td><input style="width: 100px" name="password" type="password"/></td>
							</tr>
							<tr><td>&nbsp;</td>
							  <td align="right"><input type="submit" value="OK" /></td>
							</tr>
						</table>
				</form>
			</td>
		</tr>
	</table>

<br />
$(if error)<br /><div style="color: #FF8080; font-size: 14px">$(error)</div>$(endif)
</td>
</tr>
[/php]

I figured it out! I just had to change the dst value…

Sponsor our Newsletter | Privacy Policy | Terms of Service