Project ID:
294513
Project Type:
Fixed
Budget:
$30-$250 USD
Project Description:
I need to create a PHP script to display different snippet of code based on URL token.
So, I provide a URL to another website: http://www.mysite.com/index.php?src=1&group=2&head=12
When someone clicks on that URL (which is coming to my page)
Display:
<div id="content">
<a href="http://www.mysite.com/?head12"><img src="/img/head12.jpg" border="0" alt="head12"></a>
head12 content here
</div>
If http://www.mysite.com/index.php?src=1&group=2&head=10 URL is clicked on:
Display:
<div id="content">
<a href="http://www.mysite.com/?head10"><img src="/img/head10.jpg" border="0" alt="head10"></a>
head10 content here
</div>
I am going to have 22 variables for the URI token. So, this code must be really optimized.
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 with different text.
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.
Skills required:
PHP