How to include elements from different webpages using PHP or JavaScript to my home page?

Filed Under (PHP Programming) by admin on 26-11-2009

Tagged Under : ,

I have a homepage (MyHome.php). On the homepage, I’d like to display the latest 3 posts from another page (Post.php). For example. I want to include the first 3 <h1> tags from Post.php into a <div> tag on MyHome.php. Is it possible to do this?

How to get a PHP file to be included across files in different directories?

Filed Under (PHP Programming) by admin on 26-11-2009

Tagged Under : ,

Currently I have created some php based webpages and uploaded them to my web hosting server.It has a PHP 5.1.6
installed.With this I am able to include files only that are in the same directory(they work well using require() fn).If not an error message displaying some "no such file" in directory appears in the page.I would like to use them to be included in different direcetories.What should I do?

PHP

Filed Under (PHP Programming) by admin on 23-11-2009

Tagged Under : ,

How can I use a php command to get the source of “http://www.google.com” as a string, say $html.

PHP Programming

Filed Under (PHP Programming) by admin on 23-11-2009

Tagged Under : ,

OK I have MS Frontpage 2003 and I found really easy and good than Dreamweaver 8 but i can work with PHP by MS Front page 2003, can I?

Powered by Yahoo! Answers