Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
Garet Jax #1
Php include bug
I don't know where to post bugs that I find in Dreamweaver 8, so I will write
it here.
I have a header.php file with document type and encoding declaration.
I include it in my index.php file using
include('header.php');
What should happen is that when I open index.php the doctype from header will
automatically load and display after the filename on Dreamweaver title bar. So
it should be "index.php (XHTML)".
For some strange reason it only happens if I include header like this:
<? include('header.php'); ?>
When instead of that the beginning of index.php file looks like that:
<? include('header.php');
include('another_file.php'); ?>
which actually means any php command instead of ?> after the first include.
Doctype detecting does not work.
This is very strange and I cannot see any explanation for this except that it
have to be a bug. And bugs should be fixed.
Garet Jax Guest
-
Strange Include problems: Repeat regions will Not workwith include file
I have a strange problem. I have an Index.asp page and on that page I have a poll that is displays. This poll is located in a sub folder, so to call... -
proper way to include constants; as module or include file?
I am developing a new perl module that uses constants with regular expressions. What is the proper way to offer this file? For example, my perl... -
Every time i try to display records on an include page i get repeats of the whole include
hi guys and ladies, here is my problem and i would be most grateful if any one could shed some light on this please: i have a default.asp page... -
#26259 [Opn->Bgs]: relative include path not working with include() from shell command line execut
ID: 26259 Updated by: iliaa@php.net Reported By: orsaini at allainet dot com -Status: Open +Status: ... -
#26259 [NEW]: relative include path not working with include() from shell command line execut
From: orsaini at allainet dot com Operating system: Lunux Apache 2.0.47 PHP version: 4.3.2 PHP Bug Type: ...



Reply With Quote

