Re: External file?
| From: | Chris Lee | Date: | Thu, 15 Mar 2001 16:01:26 +0000 |
| Subject: | Re: External file? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44085@lists.php.net to get a copy of this message | ||
I think im not understandting, because your asking a simple question.
<?php
if ($logged_in)
include_once('file_where_html_is.html');
?>
--
Chris Lee
lee@mediawaveonline.com
<Tristan.Pretty@risk.sungard.com> wrote in message news:85256A10.0032067B.00@Notes_SMTP.risk.sungard.com...
Morning,
I have a section of HTML that Is added to a page if a user logs in successfully.
Itis about 30 lines long, and I have included it in each page. What I would like
to do, is to have the HTML on a seperate file, and have the PHP call it if and
when a user logs in.
Is this possible?
Tris...
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
**********************************************************************
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net