Jump to content

immobilarity

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

immobilarity's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I wish I could do that but these documents get updated almost on a daily basis and must remain within the documents subdirectory. I use to program in ColdFusion and including files like this was not a problem (images would display)...so I'm a little stumped as to why I couldn't do the same with PHP. I can change the images src from "100-101.jpg" to "documents/100/100-101.jpg" via javascript but i was hoping there'd be something simple with PHP. Thanks for the quick reply.
  2. I'm new to PHP and am hoping someone can help me with a problem. I have a page named printdocs.php that needs to include multiple .html pages into one page for printing purposes. The printdocs.php page looks like this: include('documents/100/100.html'); include('documents/101/101.html'); include('documents/102/102.html'); Each one of the .html files I'm trying to include has relative references to images (i.e. 100.html has <img src="100-101.jpg" />). When I use the above include functions, the html outputs properly but the images do not display. Note: I cannot change the code in the included .html files. Is there a way to get the images to display? Thank you!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.