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
Did you know?Explore Trending and Topic pages for more stories like this.
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

remove trailing slash from array
I have the following array which contains trailing slashes I need to remove. What is the best way to

Greek characters in php
Hi,

I'm making a script and I m using for first time greek characters.
I started to write

Accept only alpha characters
I've got this bit of code ready for accepting a phrase:

Code: if (!eregi ("", $_POS

Can I call a class inside a function?
I have a class written in another file that handles my image resizing.

Can I do this (php say

array ...
hi
Code: function formatCategories($categories, $parentId)
{
// $navCat stores all child

Click counter to ignore traffic from search bots
I have a click counter on my site that...well, counts the number of clicks a link gets on the frontp

Material xxx does not exist in plant xxx
Dear All,

I am working for a steel project which is repetitive manufacturing.

what are '%S%', '%E%'
for example when i see Code: [Select]printf("Hello %srn", $name);
what does %s means

Typing math
I've added support for typesetting math using LaTeX on the forums.

Example:
Code: [Select]

Export hangs
Hi all, please help

I have a Oracle 10.2.0.3.0 database. When I want to query the dba_segmen

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