How To Make More Than One Redirection with PHP on the same page?


Posted on 16th Feb 2014 07:03 pm by admin

Hey im trying to do a direction page where it open differently link direction pages every time somebody enter it..

like this for example any good hint on how to do this?
<?php
header( 'Location: http://www.site1.com/new_page.html' ) ;
header( 'Location: http://www.site2.com/new_page.html') ;
header( 'Location: http://www.site3.com/new_page.html' ) ;
?>

No comments posted yet

Your Answer:

Login to answer
220 Like 43 Dislike
Previous forums Next forums
Other forums

PHP/PKI
I am trying to set up a web application that uses pki. does anyone have a good tutorial to set this

Procedural to OOP
ohn Kleijn said that to avoid writing "crappy code", we should learn OOP and common OO pri

newbie question about multiple queries
hi everyone,
I'm sorry to ask such a basic question, but I'm young and trying to learn php on my

Multiple while loops
I have several DB queries that I know should be returning results and aren't. I have a feeling it ha

CU&UC guide
Hi Gurus,

can anybody provide me the link for CU&UC upgrade guide

Thanks i

phpMailer will not connect using SMTP
I am trying to use phpMailer with smtp:

Code: [Select]$mailer = new PHPMailer();
$mailer-&

PDO returns erroneous columns from within pdt
Hi All,

This is a truly weird behavior:
When using a simple pdo fetch, erroneous columns a

How to give the privillege for triggers?
Hi,

How to give the privillage for triggers to particular user?

Please let me

how do i make a string??
hey guys,
can someone please tell me how to put data from the glob function into a string

PHP & Images [Resize, Crop, Save]
Hey! Well I have a little dilema, hoping I could find some guidance.

I have a CMS and on the

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash