|
2008-10-13, 08:33 PM | #1 |
And Lord, we are especially thankful for nuclear power, the cleanest, safest
energy source there is. Except for solar, which is just a pipe dream Join Date: Sep 2008
Posts: 229
|
Need some PHP help
Hey there,
I need some help from someone who is good in PHP. Currently, I am using the following code to hide my affiliate links: PHP Code:
Last edited by A.J. Angel; 2008-10-13 at 08:40 PM.. |
2008-10-13, 08:57 PM | #2 |
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
Code:
if (array_key_exists($_GET["id"], $path)) { header("location: " . $path[$_GET["id"]]); } else { header("location: http://yoursite.com/"); }
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
2008-10-13, 09:16 PM | #3 |
And Lord, we are especially thankful for nuclear power, the cleanest, safest
energy source there is. Except for solar, which is just a pipe dream Join Date: Sep 2008
Posts: 229
|
Much thanks to you CD!
|
|
|