PHP Script (easy script for experienced coder)

This project was awarded to BlackShadow007 for $30 USD.

Get free quotes for a project like this
Project Budget
$30 - $250 USD
Total Bids
Project Description

Need a PHP script that will accomplish the detailed requirements below. This should be a very simple script for an experienced coder.


This script will need to capture the following data from any vistor to the page the script will be installed on.

* Referring URL of visitor.

* IP address of visitor

* Search query if any (parsed from referring URL if the referring URL is from google, yahoo, or bing)

Example: If someone does a search on [url removed, login to view] for "red wigets", I would want to know that the referrer was Google, I would want the IP of the visitor, and I would need to know that "red wigets" was the term that was searched for.


The 3 data points above will need to be stored in a variable that would display in the following format if that variable was echoed: Google, [url removed, login to view], red wigets

ADDITIONAL DETAILS: If the referring URL is from google, yahoo, or bing, I would just want Google, Yahoo, or Bing to display in the variable discussed in Requirement 2 above. If the referring URL was any other referrer, I would want the full referring URL to be captured and displayed in the variable in Requirement 2 above.

For example: If someone comes to the page the script is installed on from [url removed, login to view], then I would want the variable from Requirement 2 above to display in the following format when echoed:

[url removed, login to view], [url removed, login to view]

My budget for a simple PHP script like this one is $25-$50.

Awarded to:
Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online