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

Modal Popup Help
Hi guys, I have a modal popup with an iframe. How can i send data from a label or textbox to the ifr

why does my session end?
my connect.php starts the session just so you know
i can navigate arround my site fine except whe

Do something every fifth time?
I'm trying to write a loop, but I want it to do something different after every fifth instance. Like

php/xmlrpc class issue
I am working on xml-rpc in php to start with.

I have a class that only has variables defined

Newb advice
Hi all,

I'm a flash front end designer and I've taken on a project that needs some back end p

Change of partner analyse in sales orders
Hello,

I changed the partner analyse for sales orders and added a new mandatory partnerro

FROM_UNIXTIME($phpdate);
Hello,

I tried to use this :

$date = FROM_UNIXTIME($phpdate);

ANd I was t

Is it possible to view php source code??
Hi All

I was just wondering if it's possible to view a websites php source code?
I know

what business processes?
Hi,

A general question. What business processes (like OTC - Order to Cach, P2P, R2R etc)

Multiple Options for a Single Page
For this example I want to use the Handlers option which is under Fed Admin and all the related codi

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