Quantcast
Channel: Adobe Community: Message List - Dreamweaver support forum
Viewing all articles
Browse latest Browse all 90058

Re: Same PHP_includes to show up in Root and Subfolder

$
0
0

So instead of <? include("../php-includes/inc_header.php"); ?>

I use this  ?

 

<?php

   $path = $_SERVER['DOCUMENT_ROOT'];

   $path .= "/php-includes/inc_header.php";

   include_once($path);

?>

 

I still can't see any images on the header in Dreamweaver... will this show up on the server instead?


 



Viewing all articles
Browse latest Browse all 90058


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>