PHP on exit redirect

Avg Bid (USD)
Project Budget (USD)
$30 - $5000

Project Description:
Very simple project.

Need a code that will redirect visitors to a specific page on my website when they exit.

It must only kick in when a person closes their browser or exits the domain, not the webpage. and will only be active on a few pages.

The code must be written in PHP with a copy in HTML (must be able to have it in both formats).

When the visitor tries to exit an alert windown will come up with a message for them to either stay on the page or exit. ? On hitting the exit or closing the browser they go to the specified page. ? It must bypass any popup blockers so doing an actual popup will not be acceptable. ? All navagation MUST be in the same window.

Skills required:
Engineering, MySQL, PHP, Project Management, Software Architecture, Software Testing, Web Hosting, Website Management, Website Testing, XML
About the employer:
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

$ 170
in 14 days
Hire jkmcoders
$ 84.15
in 14 days
Hire verticalpoint
$ 25.5
in 14 days
Hire longuyen
$ 17
in 14 days
Hire junaidatique
$ 8.5
in 14 days
Hire magicsol
$ 42.5
in 14 days
Hire powerincvw
$ 8.5
in 14 days
Hire phpwebguru
$ 1
in 14 days
Hire dvgfreelance
$ 42.5
in 14 days
Hire itmagician
$ 42.5
in 14 days