Date: 10/09/00
- Next message: Thomas CARRIE: "Re[2]: [phplib] problems with relogin!!"
- Previous message: Peter Karsten: "[phplib] Styles"
- In reply to: Peter Karsten: "[phplib] Styles"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, 9 Oct 2000, Peter Karsten wrote:
> Hello ,
>
> first I would Thanks for the lot of answers I have received,
> the last week,
> I think I have solucioned the Problem, because momently I
> received no Errors :))
>
> My Question now is, how I can put In Styles in the PHPLIB,
> if I intend Include a Style Sheet File in anyone of the
> PHPLIB Files, it says me that
> cannot send more Information after header because the header
> was already send, what file I
> must search and edit fo r include my css file.
Personally i just define a session_header function in files which i always
include, such as.
function session_header($title) {
global $sess,$page_background,$page_nytt,$page_aktiv_user;
echo "<html><head><title>\n";
echo "$title\n";
echo "</title>\n";
echo "<link rel=stylesheet
href=\"http://www.whatevcer/cs.css\" ty
pe=\"text/css\" title=\"style sheet\">\n";
echo "</head>\n";
...
...
}
Then i start all the pages requiring sessions with
<?php
require('common.inc');
page_open(array("sess" => "CS_Session"));
session_header('title');
?>
Works for me.
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Thomas CARRIE: "Re[2]: [phplib] problems with relogin!!"
- Previous message: Peter Karsten: "[phplib] Styles"
- In reply to: Peter Karsten: "[phplib] Styles"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

