Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old April 11th, 2007, 02:45 PM
callieandmark@yahoo.co.uk
Guest
 
Posts: n/a
Default 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.

  #2  
Old April 11th, 2007, 02:55 PM
Erwin Moller
Guest
 
Posts: n/a
Default 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
Default 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.
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles