|
-
Feb 17th, 2002, 02:17 AM
#1
Thread Starter
Addicted Member
redirect page
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
-
Feb 17th, 2002, 02:45 AM
#2
Fanatic Member
As with ASP, no headers can be written when redirecting pages.
-
Feb 17th, 2002, 05:34 AM
#3
Thread Starter
Addicted Member
so, what is the equivalent to:
<%response.buffer = true%>
also, what is the equivalent to:
<!--#Include file="connection.asp"-->
-
Feb 17th, 2002, 05:55 PM
#4
Fanatic Member
all of these questions are answered in the PHP manual which you can get off the official site. i suggest giving it a try.
-
Feb 17th, 2002, 11:05 PM
#5
Thread Starter
Addicted Member
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
-
Feb 18th, 2002, 09:55 AM
#6
PowerPoster
I shouldn't think that is likely since redirect is an instruction sent in an HTTP header to the browser.
-
Feb 18th, 2002, 06:43 PM
#7
Fanatic Member
Originally posted by chrisjk
I shouldn't think that is likely since redirect is an instruction sent in an HTTP header to the browser.
echo
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|