loading...

Discussion on: PHP: How to change header randomly on each load?

Collapse
simonced profile image
simonced

As @tmblog said, what error do you have?

And, is that

http://<?php echo $_GET['code'] ?>.dev.test.com

type of URL setup on your webserver?

If you use Apache, maybe you need a rewrite rule to turn that address into:

http://dev.test.com?=code=$1

where $1 is the capturing group of the rewrite rule.

Please provide more details.