krappleby
08-23-2002, 07:39 AM
Hi all,
Can someone please help me... I KNOW NOTHING about PHP, and normally program with ASP. The problem i have, is simple, I need to create a redirect page. However the server it is for, Will not support asp, and only supports php... The details are as follows...
A person enters the address,
http://www.mydomain.com/members?ID=000565
The page reads that info and sends the user automatically to
http://www.mydomain.com/cgi-bin/view.cgi/000565/index.html
That is it...
IN ASP the script would be as follows
*****************************
<%
dim members
members = request.querystring("ID")
Responce.redirect("http://www.mydomain.com/cgi-bin/view.cgi/" & members & "/index.html")
%>
*****************************
simple... however i need it is php, can someone help me...
I look forward to your replies...
Keith
Can someone please help me... I KNOW NOTHING about PHP, and normally program with ASP. The problem i have, is simple, I need to create a redirect page. However the server it is for, Will not support asp, and only supports php... The details are as follows...
A person enters the address,
http://www.mydomain.com/members?ID=000565
The page reads that info and sends the user automatically to
http://www.mydomain.com/cgi-bin/view.cgi/000565/index.html
That is it...
IN ASP the script would be as follows
*****************************
<%
dim members
members = request.querystring("ID")
Responce.redirect("http://www.mydomain.com/cgi-bin/view.cgi/" & members & "/index.html")
%>
*****************************
simple... however i need it is php, can someone help me...
I look forward to your replies...
Keith
