Author |
Message |
Justin
4WebHelp Addict
Joined: 07 Jan 2002
Posts: 1060
|
Posted:
Thu Mar 21, 2002 1:38 am (22 years ago) |
|
|
|
|
Garth Farley
WebHelper
Joined: 08 Jan 2002
Posts: 69
Location: Ireland
|
Posted:
Thu Mar 21, 2002 1:53 am (22 years ago) |
|
I don't see what you mean by cutting off the bottom - of the included file, yes?. It goes all the way to the last update bit for me, no bother. (IE 5)
The first (index.php) works fine, it's the (indexs.php) that's got 2 menu bars.
I'm sure you are aware of a little HTML code showing above the table for "next match".
Garth Farley |
|
|
|
|
Justin
4WebHelp Addict
Joined: 07 Jan 2002
Posts: 1060
|
Posted:
Thu Mar 21, 2002 2:12 am (22 years ago) |
|
|
|
|
Justin
4WebHelp Addict
Joined: 07 Jan 2002
Posts: 1060
|
Posted:
Thu Mar 21, 2002 2:23 am (22 years ago) |
|
I've tried it on loads of different hosts, and it works fine apart from on www.itfconline.net, obviously a problem with the server |
|
|
|
|
Justin
4WebHelp Addict
Joined: 07 Jan 2002
Posts: 1060
|
Posted:
Thu Mar 21, 2002 2:32 am (22 years ago) |
|
Actually, I was wrong, it is a bug with PHP 4.1.1, you can't include files with a :
<? virtual ("includes/sidebar.php"); ?>
Statement, you have to use :
<? include ("includes/sidebar.php"); ?>
This was ironed out in 4.1.2, and was not present in earlier versions, think that explains the situation! |
|
|
|
|
Garth Farley
WebHelper
Joined: 08 Jan 2002
Posts: 69
Location: Ireland
|
Posted:
Thu Mar 21, 2002 2:36 am (22 years ago) |
|
Ahh, now I see what disappeared.
To be honest, I didn't know PHP had a virtual() function. Well you learnsomething new every day, but I'm gonna stick with include().
Sorry to be absolutely no help whatsoever.
Garth Farley |
|
|
|
|
Justin
4WebHelp Addict
Joined: 07 Jan 2002
Posts: 1060
|
Posted:
Thu Mar 21, 2002 2:38 am (22 years ago) |
|
strange though, you can use virtual in any other version of PHP and it works apart from in version 4.1.1, I've always used it, and this is the first time it has caused me any trouble. |
|
|
|
|
Garth Farley
WebHelper
Joined: 08 Jan 2002
Posts: 69
Location: Ireland
|
Posted:
Thu Mar 21, 2002 2:51 am (22 years ago) |
|
|
|
|
Justin
4WebHelp Addict
Joined: 07 Jan 2002
Posts: 1060
|
Posted:
Thu Mar 21, 2002 3:08 am (22 years ago) |
|
No worries, I just contacted my host, and they are moving me on to their brand new servers running apache 1.3.23, PHP 4.1.2, 2.2GHZ of CPU Power etc, very happy with the service I get from my host as you can see |
|
|
|
|
szo2
Junior WebHelper
Joined: 10 Jan 2002
Posts: 18
Location: Hong Kong
|
Posted:
Thu Mar 28, 2002 4:17 am (22 years ago) |
|
http://www.php.net/manual/en/function.virtual.php wrote: | For PHP files, you need to use include() or require(); virtual() cannot be used to include a document which is itself a PHP file.
|
|
________________________________ Szo2
A person of no importance |
|
|
|
|