Re: Content-type vs session_start()
| From: | B�rge Strand | Date: | Fri, 09 Jan 2004 10:29:15 +0000 |
| Subject: | Re: Content-type vs session_start() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-174099@lists.php.net to get a copy of this message | ||
> > 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?
Yes. Then I get "Internal Server Error".
--
Børge