note 74030 added to function.session-start

From: Date: Wed, 21 Mar 2007 14:04:33 +0000
Subject: note 74030 added to function.session-start
Groups: php.notes 
Request: Send a blank email to php-notes+get-124663@lists.php.net to get a copy of this message
I succed to have session_start(); in an include file on UTF-8 by creating the include file directly in SSH with the server. With PuTTY, it is needed to specify the standard UTF-8 in Window-Translation section. Next you just need to create a file : <?php // session_start.inc.php session_start(); ?> To call it, at the beggining of your main page : <?php include("session_start.inc.php"); ... ?> This tip works perfectelly with main pages uploaded with FTP (FTP in SSH, I didn't try in Telnet). Very usefull for those like me that are not able to change the charset on the server. Hope that helps. Good Luck. ---- Server IP: 217.174.196.197 Probable Submitter: 81.240.36.219 ---- Manual Page -- http://www.php.net/manual/en/function.session-start.php Edit -- https://master.php.net/note/edit/74030 Del: integrated -- https://master.php.net/note/delete/74030/integrated Del: useless -- https://master.php.net/note/delete/74030/useless Del: bad code -- https://master.php.net/note/delete/74030/bad+code Del: spam -- https://master.php.net/note/delete/74030/spam Del: non-english -- https://master.php.net/note/delete/74030/non-english Del: in docs -- https://master.php.net/note/delete/74030/in+docs Del: other reasons-- https://master.php.net/note/delete/74030 Reject -- https://master.php.net/note/reject/74030 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#124663) next »