Home
Help
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search
Advanced Search
HELM, WHM, cPanel, ASP, .Net development, PHP, MySQL, MSSQL Server, SEO support forum
Design and Development
Programming
PHP
302 Redirect using PHP - temporary redirections
Pages: [
1
]
Go Down
« previous
next »
Topic: 302 Redirect using PHP - temporary redirections (Read 707 times)
0 Members and 1 Guest are viewing this topic.
302 Redirect using PHP - temporary redirections
« on: August 10, 2008, 03:36:37 AM »
Kevin
Newbie
iTrader: 2
Posts: 72
Sometime, you may need to redirect your site to some other location. In such event, you may set 302 redirection (also called temporary redirection) using PHP code. Following is the sample 302 redirection using PHP:
Code:
<?php
header
(
”Location
&
#58; http://www.your-web-site.com/temp-location/index.html”);
exit();
?>
Kevin
Logged
Re: 302 Redirect using PHP - temporary redirections
« Reply #1 on: December 14, 2008, 12:41:42 AM »
muckle.martin
Newbie
iTrader: 0
Posts: 5
Ignore my last message
Quote from: "Kevin"
Sometime, you may need to redirect your site to some other location. In such event, you may set 302 redirection (also called temporary redirection) using PHP code. Following is the sample 302 redirection using PHP:
Code:
<?php
header
(
”Location
&
#58; http://www.your-web-site.com/temp-location/index.html”);
exit();
?>
Kevin
Logged
Pages: [
1
]
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
WebHosting Related
-----------------------------
=> cPanel/WHM
=> HELM and other Hosting control panels
=> Email Management Software & Email Clients
=> Domain Registration
=> VPS Hosting
=> Dedicated Server Hosting
=> Script/software installation and upgrade
=> Other Web Hosting Stuff
-----------------------------
Design and Development
-----------------------------
=> Programming
===> ASP
===> PHP
===> .NET Development
=> Site and Server Administration
===> Apache
===> Microsoft IIS
===> Security
=> Databases
===> MySQL
===> MSSQL server
===> MS Access
=> HTML, CSS and Website Design & Programming
=> Forums and Content Management
-----------------------------
Operating System
-----------------------------
=> Windows
=> Linux
-----------------------------
Search Engines
-----------------------------
=> Google
=> Yahoo
=> MSN
=> Other Search Engines
=> Search Engine optimization and Link Exchange
-----------------------------
Payment Gateways
-----------------------------
=> 2Checkout
=> PayPal and PayPal Manager (Verisign)
=> Other Payment Processors
-----------------------------
General
-----------------------------
=> How Tos
===> SmarterMail and other Email Servers
===> Linux
===> Windows
===> cPanel/WHM
===> HELM and other Hosting Control Panels
=> Free Services
=> Paid Services
=> Marketplace
===> Advertising Sales & Affiliate Programs
===> Forex Trading (Currency Trading)
-----------------------------
NEWS, Alert and Entertainment!!!
-----------------------------
=> Introduce yourself
=> Suggestions
=> General Chat
=> Contests
Untitled Document
Home
|
Forum
|
Blog
|
Wordpress KB
|
Link Exchange Directory
|
Directory
Link exchange
|
Sitemap
|
Blog Sitemap
|
Privacy Policy