Re: Content-type vs session_start()
| From: | Brad Pauly | Date: | Thu, 08 Jan 2004 21:26:05 +0000 |
| Subject: | Re: Content-type vs session_start() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-174068@lists.php.net to get a copy of this message | ||
On Thu, 2004-01-08 at 14:14, Børge Strand wrote:
[snip]
> Do you have any ideas what I should do to make both .php and .cgi
> versions work?
> Here's test3.cgi:
> ======================================================
> #! /usr/local/bin/php
> <?php
> print 'Content-type: text/html' . "\n\n";
> session_start();
Have you tried putting session_start() before the first print?
- Brad