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

Amend code to allow multiple attachments
Hi

I have a php page that allows the user to browse to a file (image) then sumbit, the confi

Include a php
Hello,

I'm trying to include a function that shows the recent searches.
Example I have <

url- go to webpage
i have an input text field and submit button.

how do i make the url entered into the textfiel

DateObject and Nulls
Hi all,

I have an array mapped to a value object. One of the items in the array is a PHP Date

Can't find the problem (no error message)!
OK, here's the deal. This code is really weirdly formatted (sorry!) and hard to understand, so I'm g

Trigger tag in aspx is not coming
hi all ,iam new to ajax, iam using file upload inside the update pannel but right now i want to use

How to limit the calls to an API
Hello, in my simple script I call an api which effectively involves me getting an xml file.

H

how make 2 column in table with data tybe long row
hi every one

I want make in my table 2 column with data tybe long raw

how thi

Help with form post data and arrays
Hi all,

I am new to this forum... It has been awhile since i have worked with arrays, and i a

void* and sizeof()
Hi,

Using void* and sizeof is it possible to get the value of the object ?

I understan

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