View previous topic :: View next topic |
Author |
Message |
masterfork Guest
|
Posted: Tue Aug 13, 2002 3:14 pm Post subject: PHP calls |
|
|
Hi, I've been trying to split my site into 4 parts (top, navigation, main, bottom) and I used to do that before I used used my own web server. I've been trying all of the different calls,
Code: | <?PHP require(top.php); ?>
|
etc.
Anyway, nothing seems to work, I just get a blank page.. Could you just give me an example of how to make this work?
Thanks |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Aug 14, 2002 1:51 am Post subject: Re: PHP calls |
|
|
masterfork wrote: | Hi, I've been trying to split my site into 4 parts (top, navigation, main, bottom) and I used to do that before I used used my own web server. I've been trying all of the different calls,
Code: | <?PHP require(top.php); ?>
|
etc.
Anyway, nothing seems to work, I just get a blank page.. Could you just give me an example of how to make this work?
Thanks |
Please check if you have correctly installed PHP as described in http://www.aprelium.com/abyssws/php.html . Check if simple code such as <?php phpinfo(); ?> works. If so, please check if the paths are correct in your require statement. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
masterfork Guest
|
Posted: Wed Aug 14, 2002 2:08 am Post subject: |
|
|
yeah, it should be working fine, and my paths for require were also fine, but here is the phpinfo
www.total3d.com/test.php
this should work |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Aug 14, 2002 2:29 am Post subject: |
|
|
masterfork wrote: | yeah, it should be working fine, and my paths for require were also fine, but here is the phpinfo
www.total3d.com/test.php
this should work |
So everything seems correct. There is no reason why require do not work. Please consult PHP documentation for more information because it is a PHP issue (it is not related to the web server). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|