View Full Version : Auto open new website in same link?

08-16-2007, 11:47 PM
Is it possible when you click a page, it goes to that page but also opens a new window or tab to another website in php? I need it where when users go to a page, it also automaticly votes for my website. I figured it was javascript, but if it can be done in php, that'd be better.

08-17-2007, 12:19 AM
Only through Javascript. PHP can't control page behavior (once the page is loaded). It is processed before the page is sent to the client, and then only the result is sent to the client.


08-17-2007, 02:17 AM
I kind of thought so, but wanted to know from a more experienced person. Thank you