Fix PHP files(s)

This project was successfully completed by denisCh for $30 USD in a day.

Get free quotes for a project like this
Employer working
Completed by:
Skills Required
Project Budget
$30 - $40 USD
Completed In
1 day
Total Bids
Project Description

Fix PHP files(s)

I have a trade system based on two files, a [url removed, login to view] and [url removed, login to view], and a mysql database.

The [url removed, login to view] file logs the referring domain (after trimming the www.), and the ip

The [url removed, login to view] file is supposed to log the domain that referred the visitor originally, in addition to id, plug_id , referrer , ip, and time . However, the only time the domain is logged into database is when there is a www. before the domain. This only happens in error because the www. is supposed to be trimmed.

I need that problem corrected.

The second modification I need is also to the [url removed, login to view] file. If an [url removed, login to view] has already been clicked once by a user, the second time it must generate a random link. I think the best way to do this would be to check to see if the ip addresss of that visitor already has an entry for that plug_id. It would need to have a time interval to ensure it doesn`t take too long.

I hope some of that makes sense. If you have any questions please ask. I think it sounds more complicated than it probably is.

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