Re: include()...
| From: | David Robley | Date: | Mon, 14 Aug 2000 02:00:56 +0000 |
| Subject: | Re: include()... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-11543@lists.php.net to get a copy of this message | ||
On 11 Aug, Alexander Alexandrov wrote:
> i have one problem with the include function in php4
> im running Xitami server under Win98 but i have also a free subdomain in
> mysciscripts.com
> so
> i want to use the include function in every html page
> in this case in the index.htm(for example) in the bottom of the page i add
> <? include("copy.inc"); ?>
> right ??
> in the copy.inc is written the following :
> <?
> <div align="center"><center>
> <table border="0" width="35%" cellspacing="0"
> cellpadding="0"
> style="border-left: 1px solid rgb(0,0,0); border-right: 1px solid
> rgb(0,0,0); border-top: 3px solid rgb(0,0,0); border-bottom: 1px solid
> rgb(0,0,0)">
> <tr>
> <script language="javascript">
> <!--
> var sendFeedback = 'resizeable=0,scrollbars=0,width=320,height=300';
> function sndFdbck(sFdbk)
> {
> popUpWin = window.open(sFdbk,'sndFdbck',sendFeedback);
> }
> //-->
> </script>
> <td width="100%"><small><small> Copyright© 2000 <a
> href="javascript:sndFdbck('feedback.html')">Alexander
> Alexandrov</a></small></small></td>
> </tr>
> </table>
> </center></div>
> ?>
>
> so...the copy.inc file is not "included" into my index.htm page....
> why ?
> i can use html...right ??
>
>
Your server may not be set to parse .htm files with PHP
Cheers
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA