Connecting Tech Pros Worldwide Help | Site Map

Include and missing graphics

  #1  
Old April 11th, 2007, 02:45 PM
callieandmark@yahoo.co.uk
Guest
 
Posts: n/a
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.

  #2  
Old April 11th, 2007, 02:55 PM
Erwin Moller
Guest
 
Posts: n/a

re: Include and missing graphics


callieandmark@yahoo.co.uk wrote:
Quote:
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.

Quote:
>
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
  #3  
Old April 11th, 2007, 02:55 PM
Schraalhans Keukenmeester
Guest
 
Posts: n/a

re: Include and missing graphics


callieandmark@yahoo.co.uk wrote:
Quote:
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.

http://www.php.net/curl

HTH
Sh.
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit answers 0 November 14th, 2005 07:46 PM
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit answers 0 November 14th, 2005 03:55 PM
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit answers 5 November 14th, 2005 12:36 PM
Serving graphics from a database Margaret MacDonald answers 13 July 17th, 2005 08:59 AM