#1
  1. Full Access
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jun 2000
    Location
    London, UK
    Posts
    2,019
    Rep Power
    17
    OK, I have a news program which gives an HTML output of the three most recent news posts....anyway I want to have this on the front page of my web site. How do I do this in PHP? I want to have it as a SSI so that the whole page doesn't have to be generated by the program, and I can still use my top.htm and bottom.htm templatess.

    Thanks

    ------------------------------------------
    Alex
    (http://www.alex-greg.co.uk)
  2. #2
  3. No Profile Picture
    Robert_J_Sherman
    Guest
    Devshed Newbie (0 - 499 posts)
    Try using exec() function.

    ------------------
    SnR Graphics,
    Low Cost Hosting and Web Development.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    3
    Rep Power
    0
    Try using include.

    <?php

    include "file.name";

    ?>

    --------
    Coopers http://www.phatwap.co.uk

Similar Threads

  1. Replies: 2
    Last Post: August 18th, 2004, 10:45 PM
  2. PHP with UnixODBC
    By coder4hire in forum PHP Development
    Replies: 2
    Last Post: January 20th, 2004, 01:14 PM
  3. Free Hosting 100 MB, PHP, CGI, SSI, File Manager
    By idleserv in forum Free Web Hosting
    Replies: 1
    Last Post: January 18th, 2004, 08:12 PM
  4. Passing string from PHP to Javascript
    By ka8oad in forum JavaScript Development
    Replies: 4
    Last Post: January 17th, 2004, 03:12 PM
  5. UnixODBC + PHP + Apache + Empress
    By coder4hire in forum Database Management
    Replies: 0
    Last Post: January 15th, 2004, 01:41 PM

IMN logo majestic logo threadwatch logo seochat tools logo