I gang

Dynamic Content Based on URL Parameter

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

So, I provide a URL ([url removed, login to view];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="[url removed, login to view];><img src="/img/imageforhead12.jpg" border="0" alt="textforhead12"></a>

textforhead12 content here

</div>

If [url removed, login to view];group=adbanner&head=10 URL is clicked on:

Display:

<div id="content">

<a href="[url removed, login to view];><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.

Færdigheder: PHP

Se mere: dynamic content based url, dynamic text based url, different content based url, dynamic content based url parameter php, php url based content, php dynamic page content based url, utm parameter dynamic, php different content based, example dynamic content based url parameter php, great content, ftp yahoo.com, alt com, adbanner, php utm url, dynamic content based url token, php based url, php url parameter page include, content based url, serve different content based url php, dynamic text based url token, show text depending url parameter, display content based url php, php display content based url, dynamic content utm, url parameter content include

Om arbejdsgiveren:
( 11 bedømmelser ) albany, United States

Projekt-ID: #297673