On Sunday, June 2, 2002 at 2:53:30 PM, you wrote:
> I certainly read your reply and tried it with the session_start as the first
> line of the php secion. I have since remove the HTML etc. The script
> appears to work with out error .
session_start must be called before any output in the script
June 02, 2002 9:54 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [PHP] Apache, html, php and global variables
>
> I certainly read your reply and tried it with the session_start as the
> first
> line of the php secion. I have since remove the HTML etc. The script
>
>
Sent: Sunday, June 02, 2002 3:31 PM
Subject: RE: [PHP] Apache, html, php and global variables
> Did you read my reply at all? Call session_start() before any output to
> the browser.
>
> ---John Holmes...
>
> > -Original Message-
> > From: Peter Goggin [mailt
Thanks, well said.
John
> -Original Message-
> From: Jason Wong [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, June 02, 2002 2:10 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Apache, html, php and global variables
>
> On Sunday 02 June 2002 13:31, John Holmes wrote
On Sunday 02 June 2002 13:31, John Holmes wrote:
> Did you read my reply at all? Call session_start() before any output to
> the browser.
> > The errors I get are:
> > Warning: Cannot send session cookie - headers already sent by (output
> > started at c:\usr\www\my-domain\databaselogin.php:3)
e 4
>
> loggin on as
>
> user name: stampuser
>
> Password: vantwest
>
> Connected successfully
>
>
> Obviously I have something not configured correctly, or I am calling
the
> function in the wrong place. Any advice on how to overcome this would
be
> v
egards
Peter Goggin
- Original Message -
From: "John Holmes" <[EMAIL PROTECTED]>
To: "'Peter Goggin'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, June 02, 2002 12:09 AM
Subject: RE: [PHP] Apache, html, php and global variables
>
D]
> Subject: Re: [PHP] Apache, html, php and global variables
>
> I am not clear what you mean by this. I have set session_start() on in
the
> php script that logs onto the database initially. i then call a test
php
> script from a button on the menu frame. This is the out
; <[EMAIL PROTECTED]>
To: "'Peter Goggin'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, June 01, 2002 2:04 PM
Subject: RE: [PHP] Apache, html, php and global variables
> You still have to connect to a database every time a script is run,
> wheth
olmes...
> -Original Message-
> From: Peter Goggin [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 31, 2002 11:12 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Apache, html, php and global variables
>
> I am not certain how this helps me, since it appears the data is only
allas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 01, 2002 11:56 AM
Subject: Re: [PHP] Apache, html, php and global variables
> On Saturday, June 1, 2002 at 2:42:40 AM, you wrote:
> > Is there any way of caryying the login information from one web
On Saturday, June 1, 2002 at 2:42:40 AM, you wrote:
> Is there any way of caryying the login information from one web page to the
> next in global variables so that the username and password entered in the
> login screen is available to all other web pages in the site or do I have to
> ask the use
I do not know whether this is a question for this list, but if not perhaps
someone can tell me where to raise it.
I am designing a web site which has a number of pages. One of these
provides the facility for the user to log onto a mysql database. Other web
pages allow the user to query and upda
13 matches
Mail list logo