How can I include Wordpress posts in a custom PHP file?
Take a look to Integrating WordPress with your Website
This is an example from that page, that shows the first ten posts in alphabetical order:
<?phprequire('/the/path/to/your/wp-blog-header.php');?><?php$posts = get_posts('numberposts=10&order=ASC&orderby=post_title');foreach ($posts as $post) : start_wp(); ?><?php the_date(); echo "<br />"; ?><?php the_title(); ?> <?php the_excerpt(); ?> <?phpendforeach;?>
Use $posts = get_posts('numberposts=10');
if you want the 10 latest posts.