Multiple PHP includes<

liunx

Guest
Hi!

Will there be any potential problem if I put multiple "PHP include" calls within 1 page?
As in :


<meta name="GENERATOR" content="My Own Creator :-P">

<style type="text/css">
.fsx01 {font-size: 11px;}
.fsx02 {font-size: 12px;}
.fsx03 {font-size: 13px;}
.fsx04 {font-size: 15px;}
.fsx05 {font-size: 16px;}
.fsx06 {font-size: 19px;}
.fsx07 {font-size: 21px;}
.fsx08 {font-size: 24px;}
.fsx09 {font-size: 27px;}
.fsx10 {font-size: 29px;}
.fsx11 {font-size: 32px;}
.fsx12 {font-size: 35px;}
.fsx13 {font-size: 37px;}
.fsx14 {font-size: 48px;}
.fsx15 {font-size: 64px;}
.fsx16 {font-size: 96px;}
.txdec {text-decoration: none;}

.dfltt {font-family:Times New Roman;font-size:14px;font-weight:normal;text-decoration:none;text-align:left;}
body {margin: 0px;}
</style>
</head>

<body bgcolor="#ffffff" alink="#ff00ff" link="#0000ff" vlink="#ff0000"
style="height:100%; width:100%; ">

<div id="Oobj1" style="position:absolute;z-index:1;visibility:visible; left:0px;top:0px;width:269px;height:34px;">
<span id="Gcode1" class="dfltt">
<? include("randomtext.php3"); ?>
<?php include "nav.php" ?></span>
</div>

<div id="Oobj2" style="position:absolute;z-index:2;visibility:visible; left:433px;top:361px;width:319px;height:79px;">
<span id="Gcode2" class="dfltt">
<? randomtext("randomtextfile.txt"); ?></span>
</div>

<div id="Oobj4" style="position:absolute;z-index:3;visibility:visible; left:435px;top:225px;width:56px;height:129px;color:#000000;font-size:1px;">
<img name="Ggeo4" Align=Top SRC=http://www.htmlforums.com/archive/index.php/"PoeticGirlsMainPicture1.gif" alt="" border=0 width="56px" height="129px"></div>

</body>
</html>


So, any potential errors, problems or bugs with placing multiple "PHP include" calls on the same page?

Thanks! :)
Xeon.Nope, no problems at all.

I use 3 on most of my pages.nice to meet you~

I'm martin

I used to PHP4, and try to study PHP5

Could you give me a reason for PHP3 :confused:I have used a lot of includes on pages without any problems. :)Hi and thanks a lot, folks! :)

The reason why the thing is called ".php3" is because of the script.
The script author name it as .php3 and I don't wanna change anything in case the script fails.

Thanks!
Xeon. :)HI Xeon

I think the reasion about your problem might be that:

In Apache Server's httpd.conf, lines "addtype" do not include ".php3"

addtype application/x-httpd-php .php .php3

add it or change to ".php" might be helpful to you.

Nice to meet U
Martin Lau
 
Back
Top