Change phone number based on link source
$30-100 USD
Paid on delivery
| My project is to fix a small custom php script that used to work but is broken now.
The purpose of this script is to display a phone number on an HTML web page. The phone number changes depending on the link which a visitor clicks to arrive at the site. For example, if a visitor clicks the [url removed, login to view] link it might display the number 800-123-4567 but if a visitor clicks the [url removed, login to view] link it will display the number 800-456-7890. Last, there is a default phone number that appears in no unique url link is used.
The way this works is that every HTML page has a snippet of code above the top html. Then in that page where I want the phone number to appear is another snippet of code.
Then there are two .txt files. One contains the link URL and a name for the source like Google. The other contains the same link URL with the phone number which will be displayed when that link is used. Then there are two .php files called [url removed, login to view] and [url removed, login to view] with a very short bit of code.
I do not care if the same script is used or if it is replaced with a better one. It must perform these functions when complete.
1) When I create unique links to my pages, the displayed phone number must change.
2) The phone number must change according to the link and then the “link_source??? must be passed through a hidden form field from that website. This is how it worked before.
I have created a test website with the code and I will give ftp access to whoever can help. It is a Linux server with current php. |
| **Job Type:** |
## Deliverables
See attached [url removed, login to view] with the code that needs to be fixed. I do not understand why it does not work and want the code cleaned up.
Project ID: #3782021