Re: include()...
| From: | (Dave Daniels) | Date: | Fri, 11 Aug 2000 13:09:16 +0000 |
| Subject: | Re: include()... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-11315@lists.php.net to get a copy of this message | ||
Try taking out the opening and closing PHP tags in the include file. You're
not executing and PHP code, just including HTML.
----- Original Message -----
From: "Alexander Alexandrov" <alex@net-surf.net>
To: "php" <php-general@lists.php.net>
Sent: Friday, August 11, 2000 9:06 AM
Subject: [PHP] include()...
> 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);
> }
> file://-->
> </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 ??
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>