Php and Piwik help please!

Hello,

I’m trying to track page views using php. I have piwik installed on domain1.com/piwik and the php file is at domain2.com/index.php.

I have no idea how to do this. Is there any code I just copy and paste into my php file like the main tracking code? How do I do this?

See: http://piwik.org/docs/javascript-tracking/