Hi,
I've been building a site with PHP 5 on my develop machine. I've been woring
alot with session handling. For example I've been using session_start() now
and then depending on where the user/vistor are or are doing.
But now I've moved the site to a host server with PHP 4.3.8 and now I keep
Jonas Rosling a écrit :
Hi,
I've been building a site with PHP 5 on my develop machine. I've been woring
alot with session handling. For example I've been using session_start() now
and then depending on where the user/vistor are or are doing.
But now I've moved the site to a host server with PHP
put ob_start(); on the first line of your page
on Monday 15 May 2006 15:53, Jonas Rosling wrote:
Hi,
I've been building a site with PHP 5 on my develop machine. I've been
woring alot with session handling. For example I've been using
session_start() now and then depending on where the
Den 06-05-15 15.56, skrev nicolas figaro [EMAIL PROTECTED]:
Jonas Rosling a écrit :
Hi,
I've been building a site with PHP 5 on my develop machine. I've been woring
alot with session handling. For example I've been using session_start() now
and then depending on where the user/vistor are or
Den 06-05-15 16.00, skrev Thomas Munz [EMAIL PROTECTED]:
put ob_start(); on the first line of your page
on Monday 15 May 2006 15:53, Jonas Rosling wrote:
Hi,
I've been building a site with PHP 5 on my develop machine. I've been
woring alot with session handling. For example I've been using
On 5/15/06, Jonas Rosling [EMAIL PROTECTED] wrote:
Hi,
I've been building a site with PHP 5 on my develop machine. I've been woring
alot with session handling. For example I've been using session_start() now
and then depending on where the user/vistor are or are doing.
But now I've moved the
At 4:33 PM +0200 5/15/06, Jonas Rosling wrote:
Den 06-05-15 16.00, skrev Thomas Munz [EMAIL PROTECTED]:
put ob_start(); on the first line of your page
on Monday 15 May 2006 15:53, Jonas Rosling wrote:
Hi,
I've been building a site with PHP 5 on my develop machine. I've been
woring alot
session_start() doesn't need to be the first line of your PHP code, it just
needs to be called before any other output is performed. Including any blank
spaces or anything else. If you have:
---
1:
2: ?php
3: session_start();
4: ?
---
It's not going to work because you have a blank line
On Mon, May 15, 2006 8:53 am, Jonas Rosling wrote:
Warning: session_start(): Cannot send session cookie - headers already
sent
by (output started at /var/www/html/index.php:9) in
/var/www/html/index.php
on line 82
But I found out that if I put the tag in the absolute top of every
page it
Dears,I have 3 files.
k.php :
?
session_start();
$S_userk=$HTTP_POST_VARS['u'];
$S_pass=$HTTP_POST_VARS['p'];
//echo $S_pass;
session_register('S_userk');
session_register('S_passk');
include 'http://1.1.1.1/membership/login.php?g=0';
?
login.php:
define(HOST,localhost);
10 matches
Mail list logo