Re: [PHP] Sessions
You'r right of course, the directory didn't exist. Working alright now. -- Alex Francis Cameron Design 35, Drumillan Hill Greenock PA16 0XD Tel 01475 798106 [EMAIL PROTECTED] http://www.camerondesign.co.uk This message is sent in confidence for the addressee only. It may contain legally privileged information. Unauthorised recipients are requested to preserve this confidentiality and to advise the sender immediately of any error in transmission. Stuart Dallas <[EMAIL PROTECTED]> wrote in message 3CD42BAD.28161.5486682@localhost">news:3CD42BAD.28161.5486682@localhost... > On 4 May 2002 at 18:22, Alex Francis wrote: > > Warning: open(/tmp\sess_51d4849918d3ffe4d2cc70013d678f6b, O_RDWR) > > failed: No such file or directory (2) > > Does the directory it's trying to write to exist? Seeing as you've posted this question, I'll > assume that you don't understand the error message. Out of curiosity, which bit of "No such > file or directory are you having trouble with? > > Sarcasm aside, it's trying to create a file named > /tmp\sess_51d4849918d3ffe4d2cc70013d678f6b in the root of the current drive (usually C). > In other words, does the directory c:\tmp exist? I would bet the farm that it doesn't. > > The solution? Either create the directory or change the session.save_path entry in your > php.ini. > > -- > Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Sessions
Newbie question I have installed PHP 4.1.2 on a Windows 2000 for test purposes. I have never used sessions before and am having difficulty with them. I am using session_start(); and get the following error. Warning: open(/tmp\sess_51d4849918d3ffe4d2cc70013d678f6b, O_RDWR) failed: No such file or directory (2) I have session support enabled, is there something else I need to do. -- Alex Francis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: IE and Netscape
Thank you - everything alright now. I guess this is what happens when you learn using wiziwig editors. -- Alex Francis Cameron Design 35, Drumillan Hill Greenock PA16 0XD Tel 01475 798106 [EMAIL PROTECTED] http://www.camerondesign.co.uk This message is sent in confidence for the addressee only. It may contain legally privileged information. Unauthorised recipients are requested to preserve this confidentiality and to advise the sender immediately of any error in transmission. Alex Francis <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > The following code shows exactly what I want in IE5 but does not in > Netscape. I have tried various combinations of slashes and quotes but can't > get it to display properly. Can anyone show me the changes I need to make. > > Code: > echo "",$name, " ", "E-mail:", " ",$email, " > ",$date, " ", "PostID:", " ",$id ,""; > > IE5:Debbie McNicol E-mail: [EMAIL PROTECTED] PostID: > 180 > > Netscape: Debbie McNicol E-mail:&[EMAIL PROTECTED] > PostID: 180 > > > -- > Alex Francis > Cameron Design > 35, Drumillan Hill > Greenock PA16 0XD > > Tel 01475 798106 > [EMAIL PROTECTED] > http://www.camerondesign.co.uk > > This message is sent in confidence for the addressee only. It may contain > legally privileged information. > Unauthorised recipients are requested to preserve this confidentiality and > to advise the sender > immediately of any error in transmission. > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] IE and Netscape
The following code shows exactly what I want in IE5 but does not in Netscape. I have tried various combinations of slashes and quotes but can't get it to display properly. Can anyone show me the changes I need to make. Code: echo "",$name, " ", "E-mail:", " ",$email, " ",$date, " ", "PostID:", " ",$id ,""; IE5:Debbie McNicol E-mail: [EMAIL PROTECTED] PostID: 180 Netscape: Debbie McNicol E-mail:&[EMAIL PROTECTED] PostID: 180 -- Alex Francis Cameron Design 35, Drumillan Hill Greenock PA16 0XD Tel 01475 798106 [EMAIL PROTECTED] http://www.camerondesign.co.uk This message is sent in confidence for the addressee only. It may contain legally privileged information. Unauthorised recipients are requested to preserve this confidentiality and to advise the sender immediately of any error in transmission. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php