I want to perform the following actions.
1.I want a script to run when the user closes the window either by pressing ALt+F4 or pressing the X at the top right corner.
(actually i want a php system fn to run when the abv action takes place.)
2.I used anchor text in my site .I want the users to open the link in the same window not allowing them to open in new window which they do either by pressing shif+Mouseclick or right click and choose open in new window option.Can anyone help me.
thanx in advance for ur suggestions.