The Scarlet Pimp
Supreme Member
- Apr 2, 2008
- 1,416
- 4,457
i've almost got everything working. the problem now is that i have two commands in the script, but the server will only execute whichever one comes first.
how can i make these two commands execute in sequence?
if (strlen($_SERVER['HTTP_REFERER'])) {
Readfile("/home/username/public_html/demo/file.jpg");
Header("Location: http://www.ebay.com/?affid=123456");
}
tsp
how can i make these two commands execute in sequence?
if (strlen($_SERVER['HTTP_REFERER'])) {
Readfile("/home/username/public_html/demo/file.jpg");
Header("Location: http://www.ebay.com/?affid=123456");
}
tsp