Sedang Disiapkan

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.

Kemahiran: PHP

Lihat lebih lanjut: dynamic content based url, dynamic text based url, different content based url, php url based content, utm parameter dynamic, php different content based, great content, adbanner, php utm url, php based url, content based url, dynamic content utm, url parameter content include, show url parameter content, dynamically generate url parameter, utm tagging url creator, utm parameters url creator, content url paramete, php dynamic parm number, text based url, images based url, hidden content based url, php include based urlparameter, provide php parameter url, message based url parameter

Tentang Majikan:
( 11 ulasan ) albany, United States

ID Projek: #297673