Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

PHP Code disappearing

New Here ,
Feb 17, 2010 Feb 17, 2010

Hi

My DW CS4 has started to not show php includes in the code view (or design view for that matter!)

They take this form usually -

 

      <?php include($_SERVER['DOCUMENT_ROOT'].'/php-include/nav-left.php'); ?>

However, they are all missing! Is there a setting that has inadvertently changed?

Thanks

Graham

   

TOPICS
Server side applications
341
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 17, 2010 Feb 17, 2010
LATEST

Dreamweaver is not capable of interpreting $_SERVER['DOCUMENT_ROOT']. You need to use document-relative links for include files.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines