Re: [PHP] Re: Include Question

2003-03-28 Thread Kevin Stone
ather than include() at the end of the script. Just my opinion. - Kevin - Original Message - From: "Tim Burden" <[EMAIL PROTECTED]> To: "Beauford.2002" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, March 28, 2003 1:36 PM Subject: [PHP]

[PHP] Re: Include Question

2003-03-28 Thread Tim Burden
You could try this instead: Checklogin.php if (!$name || !password) { $message = $enter_info; } if ($message){ include ("login.php"); echo $message; exit; } But the way you had it should work, you might just need to global $message; right before the echo in login.php in case it is insi

Re: [PHP] Re: include question

2001-09-18 Thread Jason Bell
clude file. The user shouldn't notice any slowdown caused by your include. - Original Message - From: "Nikola Veber" <[EMAIL PROTECTED]> To: "Chris Lee" <[EMAIL PROTECTED]>; "php forum" <[EMAIL PROTECTED]> Sent: Monday, September 17, 2001 1

[PHP] Re: include question

2001-09-18 Thread Nikola Veber
I'm afraid you have not understood me completely: My only concern on this topic is: Will the user be forced to wait for the whole included php file to load, or the server will just take the desired function from that file? My goal here is to call different fragments of html code depending on u