Hello,
I am going to replace asp code with php code, I am php beginner
How to redirect to another php file using php? i.e. how to replace the following asp code:
<%
response.redirect "join.asp?e=1"
%>
Thanks
Printable View
Hello,
I am going to replace asp code with php code, I am php beginner
How to redirect to another php file using php? i.e. how to replace the following asp code:
<%
response.redirect "join.asp?e=1"
%>
Thanks
As with ASP, no headers can be written when redirecting pages.
so, what is the equivalent to:
<%response.buffer = true%>
also, what is the equivalent to:
<!--#Include file="connection.asp"-->
all of these questions are answered in the PHP manual which you can get off the official site. i suggest giving it a try. ;)
ok, I will search for manuals, but until this:
Is there is a difference between php capabilities when running with IIS or PWS (windows) and when it runs with Apache?
someone told me that redirection statement doesn't run with IIS , it only runs with Apache.
Thanks
I shouldn't think that is likely since redirect is an instruction sent in an HTTP header to the browser.
echo :DQuote:
Originally posted by chrisjk
I shouldn't think that is likely since redirect is an instruction sent in an HTTP header to the browser.