如何在php中虚拟调用页面?

is there a way in php to call a page virtually?

I got my analytics code in

www.domain.com/somepage.php

I want to call this page when executing a function inside another page.

Now i am not talking about iframe or echo. I mean virtual load.

I don't really understand what you mean by "virtual" load.

If you want to include a php script in your php pages, you can use the include function :

<?php
// Include and execute what's inside somefile.php
inclucde 'somefile.php';

// Your code here

If you mean "download" by virtual you can use file_get_contents("http://myurl.com/page")