Include and missing graphics

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • callieandmark@yahoo.co.uk

    #1

    Include and missing graphics

    If i use an include to an external webpage why are the graphics and
    formatting missing ?

    Basically I want my own page heading and a form at the top of my page
    and then an external page beneth.
    Can anyone tell me the correct way of doing this.

  • Erwin Moller

    #2
    Re: Include and missing graphics

    callieandmark@y ahoo.co.uk wrote:
    If i use an include to an external webpage why are the graphics and
    formatting missing ?
    Most probably because the paths don't make sense anymore.

    Did you check the HTML your PHP did produce after the contentstealing ?

    eg:
    stolen html comes from: http:www.example.com/somedir/page1.html
    contains:
    <img src="../images/someimage.png">
    which resolves to:
    http:www.example.com/images/someimage.png

    after placing in your HTML, the paths don't make sense anymore.

    >
    Basically I want my own page heading and a form at the top of my page
    and then an external page beneth.
    Can anyone tell me the correct way of doing this.
    If you want, you could try finding all the images, and give them the right
    path (= pointing to the domain where you took them from).

    Regards,
    Erwin Moller

    Comment

    • Schraalhans Keukenmeester

      #3
      Re: Include and missing graphics

      callieandmark@y ahoo.co.uk wrote:
      If i use an include to an external webpage why are the graphics and
      formatting missing ?
      >
      Basically I want my own page heading and a form at the top of my page
      and then an external page beneth.
      Can anyone tell me the correct way of doing this.
      >
      Showing the relevant code would be a start...
      Shooting in the dark I would say: have a look at cURL.



      HTH
      Sh.

      Comment

      Working...