PHP calls

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
masterfork
Guest





PostPosted: Tue Aug 13, 2002 3:14 pm    Post subject: PHP calls Reply with quote

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

PostPosted: Wed Aug 14, 2002 1:51 am    Post subject: Re: PHP calls Reply with quote

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 View user's profile Send private message Send e-mail
masterfork
Guest





PostPosted: Wed Aug 14, 2002 2:08 am    Post subject: Reply with quote

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

PostPosted: Wed Aug 14, 2002 2:29 am    Post subject: Reply with quote

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 View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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


Powered by phpBB phpBB Group