> > I have a problem setting my headers right with php running as
> > .cgi. I have to specify a Content-type for the cgi file to work.
> > But how should I do both that and start a session?
>
> Try using header() instead of print to set Content-Type.
>
> Hope that helps.
Thanks Chris. I tried t
> >I have a problem setting my headers right with php running as .cgi. I
> >have to specify a Content-type for the cgi file to work. But how
> >should I do both that and start a session?
> >
> >I have a few options:
> >
> >#! /usr/local/bin/php
> > >session_start();
> >print 'Content-type:
--- Børge Strand <[EMAIL PROTECTED]> wrote:
> I have a problem setting my headers right with php running as
> .cgi. I have to specify a Content-type for the cgi file to work.
> But how should I do both that and start a session?
Try using header() instead of print to set Content-Type.
Hope that he
On Sat, 10 Jan 2004 17:44:18 +0100 (MET), you wrote:
>I have a problem setting my headers right with php running as .cgi. I
>have to specify a Content-type for the cgi file to work. But how
>should I do both that and start a session?
>
>I have a few options:
>
>#! /usr/local/bin/php
>session_s
Hi there,
I have a problem setting my headers right with php running as .cgi. I
have to specify a Content-type for the cgi file to work. But how
should I do both that and start a session?
I have a few options:
#! /usr/local/bin/php
' . "\n";
print '' . "\n";
if (!isset($_SESSION['count
5 matches
Mail list logo