homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

Splash Page
Cannot Pull Affiliate/ ID

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

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)

>> 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)

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)

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)

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)

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)

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

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved