|
Posted by Rik on 09/28/46 11:48
Nospam wrote:
>> I think you mean:
>> $urls = array(2=>'http://www.php.net', 2 => 'http://www.php1.net');
>>
>> Where redirected.php?link=1 wil redirect to 'http://www.php.net',
>> redirected.php?link=2 wil redirect to 'http://www.php1.net'.
>>
>
> should this have been:
> $urls = array(1=>'http://www.php.net', 2 => 'http://www.php1.net');
> ??
Yup, I was somewhat hasty in copy/pasting parts.
> Because I am a little confused if the array has 2 for www.php.net and
> 2 for www.php1.net I take it then for multiple redirects upto to four
> sites this would be fine:
>
> $urls = array(1=>'http://www.php.net', 2 => 'http://www.php1.net',
> 3=>'http://www.php3.net', 4=>'http://www.php4.net'); ?
Yes, that would work.
Grtz,
--
Rik Wasmus
Navigation:
[Reply to this message]
|