BoR|S
04-23-2003, 12:30 PM
I had a redirect script in made using ASP, it worked this way:
Links were of the format: redir.asp?url=http://www.website.com, and the redir.asp itself had the following code:
<%@ Language=VBScript %>
<html>
<head>
<title>Redirect</title>
</head>
<frameset rows="*,52" border="0">
<frame src="<%=Request("url")%>" marginheight="0" marginwidth="0"
scrolling="auto" noresize>
<frame src="bottom.asp" marginheight="0" marginwidth="0"
scrolling="no" noresize>
</frameset>
</html>
Can anyone write me it's translation to PHP and/or suggest me how to improve this script? (Maybe somehow to do it without using frames? With SSI/DHTML?)
Links were of the format: redir.asp?url=http://www.website.com, and the redir.asp itself had the following code:
<%@ Language=VBScript %>
<html>
<head>
<title>Redirect</title>
</head>
<frameset rows="*,52" border="0">
<frame src="<%=Request("url")%>" marginheight="0" marginwidth="0"
scrolling="auto" noresize>
<frame src="bottom.asp" marginheight="0" marginwidth="0"
scrolling="no" noresize>
</frameset>
</html>
Can anyone write me it's translation to PHP and/or suggest me how to improve this script? (Maybe somehow to do it without using frames? With SSI/DHTML?)