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' ) ;
?>

220 Like 43 Dislike
Previous php-forum Next php-forum
Other php-forum

Return X values where an ID number doesnt matter
Well as for subject heading, thats the best i could think of.

Currently im having a problem w

cURL error
So here is my code... I got it off of here... http://www.youtube.com/watch?v=XcgQUsorF_8
Because

help with email script...
hey

I need help with my mail script

when the form on http://www.mcgdesignstudio.com/c

breaking a text file into paragraphs based on strings
I have a text file of email addresses that is all squished together. It looks like this:

abc

Array help
Hello i got this code to fetch data from database but it is not working it displays
7
Array

PHP using IF to display error
i have a MySQL query and i want to display 1 thing only if the number of affected rows is >=1

Date/Time and Checkbox
Hi Everyone,

I am trying to figure out how to insert the current date and tim

problem with array - multilingual page
this is my test page :
Code: <?php
if(isset($_GET['lang'])) {
if($_GET['la

Print out contents of to Excel
I have got this script that gathers all the data that I need but I need it to send it to excel inste

Inserting Data into a MS Access DB using PHP.
As part of my uni course I am doing a placement at a company whom want me to create a client zone fo

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