It is currently Tue Mar 26, 2019 2:45 am


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Simple Require() Question
PostPosted: Mon Jan 19, 2009 7:49 am 
Newbie
Newbie

Joined: Mon Jan 19, 2009 7:46 am
Posts: 2
So, what do I have to enable to make "templates" like this? So far I have saved the file into a .php file and added the < ?php require("xxx.php"); ?> line, but it won't use it, for whatever reason.

What extra step am I missing?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 19, 2009 9:19 am 
Support Tech
Support Tech

Joined: Tue May 09, 2006 2:27 am
Posts: 933
Please open a trouble ticket. Then we will be able to assist you further.

_________________
Andy
ModeratorsTeam
Freehostia.com


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 19, 2009 9:24 am 
Newbie
Newbie

Joined: Mon Jan 19, 2009 7:46 am
Posts: 2
I did, but the issue didn't get resolved.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 19, 2009 4:45 pm 
Moderator
Moderator

Joined: Tue Feb 27, 2007 12:18 am
Posts: 521
powersurge360, do you get any error messages? try require_once("file.php");

is it in the same folder and the one calling it?

_________________
http://www.mjmclocks.co.uk


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 20, 2009 4:14 am 
Regular
Regular

Joined: Sun Apr 15, 2007 5:14 pm
Posts: 308
Location: Barrie On Ca
or maybe:
include ("filename.php");
not much to go on here


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 10, 2009 9:39 am 
Newbie
Newbie

Joined: Thu Nov 05, 2009 11:04 am
Posts: 1
Location: Abington,PA,USA
I get error messages while using this require()..How to resolve this?

_________________
Acne
Acne


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ]  Moderators: Moderators, Support Team

All times are UTC


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

Search for:
Jump to:  
Hosting | Domains | Servers | Extras | Order | Support | Contacts | FreeHostia © 2011