Project Detail

Dynamic Content Based on URL Parameter  

Dynamic Content Based on URL Parameter is project number 297673
posted at Freelancer.com. Click here to post your own project.

 

| More Free Trial For New Buyers
 

Status:

Selected Providers: arasferra

Budget: $30-250

Created: 08/07/2008 at 23:49 EDT

Bid Count: 1

Average Bid:
N/A

08/09/2008 at 23:49 EDT

Project Creator: abstractj
Employer Rating: 10/1010/1010/1010/1010/1010/1010/1010/1010/1010/10 (8 reviews)

Bid On This Project
 

Description

I need a PHP script to generate different snippet of code based on URL token.

So, I provide a URL (http://www.mysite.com/index.php?utm=google&group=adgroup&head=12) to another website:

When someone clicks on that URL (which is coming to my page)
I want my page to generate the following code:
<div id="content">
<a href="http://www.mysite.com/?textforhead12"><img src="/img/imageforhead12.jpg" border="0" alt="textforhead12"></a>

textforhead12 content here
</div>

If http://www.mysite.com/index.php?src=yahoo&group=adbanner&head=10 URL is clicked on:
Display:
<div id="content">
<a href="http://www.mysite.com/?head10"><img src="/img/imagepathforhead10.jpg" border="0" alt="textforhead10"></a>

textforhead10 content here
</div>

I am going to have 13 dynamic content variables based on the head parameter. So, this code must be really optimized. It will not have database, so all of the content will have to be stored in the page or another include.

Also, there will be a session cookie that will expire within 20 min. or whatever time I provide.

In a nutshell, based on the URL token I want to serve a different image and different text based on the url parameter.

Shouldn't be a hard script. If you can provide example on your own website that would be great. Once accepted I will provide you with FTP info to mysite where you can implement the code.

Messages Posted:0 View project clarification board Post message on project clarification board

Bid On This Project
 

If you are the project creator or one of the bidders Log In for more options

Bids are hidden by the project creator. Log in as the project creator or as one of the bidders to view bids. You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


    Bid on this Project