divadiva Posted January 14, 2009 Share Posted January 14, 2009 Page is loading but I am missing images and colors.Any help? This is my code: $fileDir = "/var//xyz/"; // supply a path name. $fileString="mylink?entrypoint=removeme.php"; // translate file name properly for Internet Explorer. if (strstr($_SERVER['HTTP_USER_AGENT'], "MSIE")){ $fileName = preg_replace('/\./', '%2e', $fileName, substr_count($fileName, '.') - 1); } // make sure the file exists before sending headers if(!$fdl=@fopen($fileString,'r')){ die("Cannot Open File!"); } else { $contentType = 'text/html'; header("Cache-Control: ");// leave blank to avoid IE errors header("Pragma: ");// leave blank to avoid IE errors header("Content-type: $contentType"); header("Content-Disposition:inline; fileString=\"".$fileString."\""); header("Content-length:".(string)(filesize($fileString))); sleep(1); fpassthru($fdl); } ?> Link to comment https://forums.phpfreaks.com/topic/140850-problem-loaidng-html-page/ Share on other sites More sharing options...
chronister Posted January 14, 2009 Share Posted January 14, 2009 Take a look at the HTML source and see what it says. If most of the page is showing up, then all the page should show up ..... of course that is if it is properly coded HTML. That is where I would start. nate Link to comment https://forums.phpfreaks.com/topic/140850-problem-loaidng-html-page/#findComment-737316 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.