I ran this code on my system. Different URLs obviously will give different results.
With http://laprbass.com/RAY_te
With http://www.laprbass.com/RA
Presumably with http://foobar.laprbass.com
And just a note - after line 28 you want to add "exit;" so the script stops after the header("Location")
Main Topics
Browse All Topics





by: Ray_PaseurPosted on 2009-06-02 at 12:29:41ID: 24530548
Print out $subdomain and show us what is in there. Thanks, ~Ray