Many thanks indeed. That did the trick. Peter Finch

"Scott Hurring" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> you have to setup the directory for sessions in your
> 'php.ini' file.
>
> It defaults to '/tmp', which is *not* a subdir, but
> a root-dir (AFAIK), so either create "C:/tmp" or
> set it to something else.
>
> ---
> Scott Hurring
> Systems Programmer
> EAC Corporation
> [EMAIL PROTECTED]
> Voice: 201-462-2149
> Fax: 201-288-1515
>
> > -----Original Message-----
> > From: Peter Finch [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, May 02, 2002 4:12 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-WIN] Sessions
> >
> >
> > I am learning PHP from the Greenspan and Bulger book, on a Windows
> > development system using PHP 4.1.2 and Apache. All has worked
> > fine until I
> > got to sessions. This simple program:
> > <?php
> >
> > session_start();
> >
> > ?>
> >
> > produces this output:
> >
> > Warning: open(/tmp\sess_d7e26c0283f94a430da8f7fc4138ca21,
> > O_RDWR) failed: No
> > such file or directory (2) in
> > c:\phpweb\post-march-2002-stuff\learning3.php
> > on line 2
> >
> > Warning: open(/tmp\sess_d7e26c0283f94a430da8f7fc4138ca21,
> > O_RDWR) failed: No
> > such file or directory (2) in Unknown on line 0
> >
> > Warning: Failed to write session data (files). Please verify that the
> > current setting of session.save_path is correct (/tmp) in
> > Unknown on line 0
> >
> > I have provided a directory called tmp as a sub directory of
> > the directory
> > in which the little program resides. It is not read only.
> > Phpinfo() shows
> > session.save_path as /tmp.
> >
> > Would anyone help me please?
> >
> > Peter Finch
> >
> >
> >
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

  • ... William E. T.
    • ... Johannes Janson
  • ... Flint Doungchak
  • ... jax
  • ... Dan Zarrella
  • ... Dale Heil
  • ... Alberto. Sartori
  • ... Peter Finch
    • ... Ernani Joppert Pontes Martins
  • ... Scott Hurring
    • ... Peter Finch
  • ... Nick Chorley
  • ... Шестаков Николай
  • ... Miha Nedok
    • ... Robert Hawke
    • ... Luis Ferro
      • ... Achilles Maroulis
        • ... Luis Ferro

Reply via email to