免费脚本一次打开多个URL

I am looking for Free PHP script to open multiple URLs at once click. Please let me know if anyone find anywhere.

Thanks in advance.

You can open unlimited url in one page by this HTML code. Try to paste the below code in a html web page.

<iframe src="http://yahoo.com" height="50%" width="49%" ></iframe>
<iframe src="http://yahoo.com" height="50%" width="49%" ></iframe>
<iframe src="http://yahoo.com/m" height="50%" width="49%" ></iframe>
<iframe src="http://yahoo.com/m" height="50%" width="49%" ></iframe>

CAUTION : google.com and some other sites may not allow to open their site url in a frame.

You probably want to affect a client's behavior, in which case you don't need PHP. Plain old HTML + Javascript will do:

<a href="#" onclick="window.open('http://www.google.com'); 
                window.open('http://yahoo.com');">Open Google and Yahoo</a>

Chances are this will be caught by popup blockers though.

To generate such code with PHP, just do:

// say your links are in an array:
$links = array('http://www.google.com', 'http://www.yahoo.com');

$open = '';
foreach ($links as $link) {
    $open .= "window.open('{$link}'); ";
}

echo "<a href=\"#\" onclick=\"{$open}\">Open multiple links</a>";