FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » php includes and ajax
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: php includes and ajax [message #173116 is a reply to message #173105] Tue, 22 March 2011 10:50 Go to previous messageGo to previous message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma:
Senior Member
On Mon, 21 Mar 2011 19:06:58 -0500, Lwangaman wrote:

> Getting back to the point: my question is about how server-side php
> includes are to be handled semantically in a php file (<deleted
> irrelevancy>).

You have four choices:

include ("filemname.php");
include_once ("filemname.php");
require ("filemname.php");
require_once ("filemname.php");

For discussion of the implications of the various methods, and various
opinions on which is best, try googling "php include require".

Various people using this group have opinions on these, and they are not
always in agreement.

Rgds

Denis McMahon
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PHP Developers needed
Next Topic: Cannot send emails
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 29 17:21:59 GMT 2024

Total time taken to generate the page: 0.03768 seconds