wrap php page in html

Discussion in 'PHP' started by unitechy, Aug 31, 2009.

  1. #1
    I have a php page which outputs different image file each time it loads.. More over, it has new text written on it each time it loads.

    Now I want to embbed that output page inside an purely html page. How Should I do it?
     
    unitechy, Aug 31, 2009 IP
  2. pubdomainshost.com

    pubdomainshost.com Peon

    Messages:
    1,277
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Use iframe to let the server produce output from PHP and bundle it up within your HTML code.
     
    pubdomainshost.com, Aug 31, 2009 IP
  3. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #3
    Or using mod rewrite u can make the page php but let the extension stay as html
     
    Bohra, Aug 31, 2009 IP
  4. premiumscripts

    premiumscripts Peon

    Messages:
    1,062
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Err, it's just an image output? Then simply use <img src="script.php" />
     
    premiumscripts, Aug 31, 2009 IP
  5. RobertK

    RobertK Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Exactly - normally used for captcha images to create dynamic random images - use the img tag if its a php generated image.
     
    RobertK, Sep 1, 2009 IP