Forums

This topic is locked

PHP with Ultradev 'incompatibilities'.

Posted 23 Nov 2001 04:37:26
1
has voted
23 Nov 2001 04:37:26 Ed Mc Land posted:
(on server: php4, apache, linux) - Hi
I've created two files, a header and a footer, wich are in normal html.
I call them from a template with an <include_once> command.
Now, when I use some other php scripting in the 'writable' zone of the template (on a new file from the template), DWUD automaticaly substitutes the first line of php with the second include_once command of the template (the footer).
This is totaly weird as the template wouldnt allow to write in the 'blocked' zone normaly.
To be honest Im using the include_once command to call two pages with no php code, but I do this to use a sort of ssi (without the shtm extensions so I can use the php code in the page).
I should solve this simply putting the header and footer code in the template but when updating this method is terribly time saving, especialy with big sites.
Anyone knows why the DWUD behavies in this way?
Thx. Sky.

Reply to this topic