Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Splash Page

Cannot Pull Affiliate/ ID



3:16 am on Jan 9, 2009 (gmt 0)

5+ Year Member

Good Evening Ladies and Gentleman. My name is Bill and I very much a newbie when it comes to HTML.

I am new and my tech guy is unavailable for a couple of days. I need to learn a little of this stuff on my own. So I thought I would try to learn a little something while he is out of town.

I am trying to use a splash page to be used to promote the site. My guy left me the code but it works fine except that the referral id that should be pulled from the code is not working it just shows the code that should be doing the work.

I have tried to look at other pages and figure out what part of the code I messed up.

If someone who is familiar with PHP source code could take a look and tell me where to "fix" my mistake I would be very appreciative.

This is the code i an using.

<img src="http://www.example.com/images/members/7020/banner-1231264066.png">

<?php include("system.php"); ?>
<title>Strike Control Manual Traffic Exchange</title>

<body bgcolor="#000000">
<div align="center"><a href="http://example.com/?r=<?php echo $_GET['r']; ?> "><img src="http://example.com/images/copbullhorn.png" border="0"></a>

[edited by: eelixduppy at 3:29 am (utc) on Jan. 9, 2009]
[edit reason] exemplified [/edit]


3:31 am on Jan 9, 2009 (gmt 0)

WebmasterWorld Senior Member eelixduppy is a WebmasterWorld Top Contributor of All Time 10+ Year Member

>> it just shows the code

Are you parsing this file as PHP?

Also, Welcome to WebmasterWorld! :)


4:01 am on Jan 9, 2009 (gmt 0)

5+ Year Member

Thanks for the welcome. I am not sure about the parsing, I don;t thing I am trying. I basically am trying to have the webpage redirect to my site but letting the site know the referrer who sent the referral. If that helps. But if I think about the meaning of parsing, then it might be possible.


4:04 am on Jan 9, 2009 (gmt 0)

5+ Year Member

This is the part of the code that shows in the browser after being clicked. www.example.com?r=<?php echo $_GET['r']; ?>
This might help with what my problem is. Sorry should have added it earlier.

[edited by: eelixduppy at 4:08 am (utc) on Jan. 9, 2009]
[edit reason] exemplified [/edit]


8:07 am on Jan 9, 2009 (gmt 0)

10+ Year Member

It sounds like the PHP is not being parsed. Does the file have a ".php" extension?


1:28 pm on Jan 9, 2009 (gmt 0)

5+ Year Member

Yes the URL has an php extension i believe http://example.com/virtual/1/.php?r=[ID]

[edited by: eelixduppy at 3:58 pm (utc) on Jan. 9, 2009]


3:56 am on Jan 10, 2009 (gmt 0)

5+ Year Member

Sorry about that. Yes the file has an php extension. The page is hosted in my virtual pages which are php files.

Featured Threads

Hot Threads This Week

Hot Threads This Month