RE: [PHP] Apache, html, php and global variables

2002-06-02 Thread John Holmes
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 >

Re: [PHP] Apache, html, php and global variables

2002-06-02 Thread Peter Goggin
> 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

RE: [PHP] Apache, html, php and global variables

2002-06-01 Thread John Holmes
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

Re: [PHP] Apache, html, php and global variables

2002-06-01 Thread Jason Wong
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)

RE: [PHP] Apache, html, php and global variables

2002-06-01 Thread John Holmes
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

Re: [PHP] Apache, html, php and global variables

2002-06-01 Thread Peter Goggin
; > Your sessions still aren't going to work because the session.save_path > isn't set correctly in your PHP.ini. Set it to a directory on your > computer that the web server has access to write to. > > ---John Holmes... > > > -Original Message- > > From: P

RE: [PHP] Apache, html, php and global variables

2002-06-01 Thread John Holmes
t;"); > printf (""); > printf ("DBA Password; ",$_SESSION_VARS["dbapassword"],""); > ?> > > > > Is there a problem with how I am using sessiot_start, or is there a php > config problem? > > Regards >

Re: [PHP] Apache, html, php and global variables

2002-06-01 Thread Peter Goggin
; <[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

RE: [PHP] Apache, html, php and global variables

2002-05-31 Thread John Holmes
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

Re: [PHP] Apache, html, php and global variables

2002-05-31 Thread Peter Goggin
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

Re: [PHP] Apache, html, php and global variables

2002-05-31 Thread Stuart Dallas
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