Topic: despertly seeking help :(( (Read 978 times)
Kill the googlebot
Gender:
Posts: 6
40 credits Members referred : 0
« on: Jan 14, 2007, 03:30:25 PM »
hey every body
well ... I think it's way not about the class ... but I really need help with this I need to know what the right code to validate the username and password with session for imap connection , see I could connect to the imap but only when I define my username and password , and I wanna to any one in the same server I defined can log in I have a class project and I can't right the right session code , can any body help !! there is no db needed
thanx any way
Global Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6357
38966 credits Members referred : 374
Kill the googlebot
Gender:
Posts: 6
40 credits Members referred : 0
« Reply #4 on: Jan 14, 2007, 08:57:07 PM »
actually I'm getting this warning each time Warning: imap_open() [function.imap-open]: Couldn't open stream { server name and bath } and this without making any session , cuz back then when I was tryin' to make session I was gettin' the same warning over and over no matter what the code is
Global Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6357
38966 credits Members referred : 374
actually I'm getting this warning each time Warning: imap_open() [function.imap-open]: Couldn't open stream { server name and bath } and this without making any session , cuz back then when I was tryin' to make session I was gettin' the same warning over and over no matter what the code is
Kill the googlebot
Gender:
Posts: 6
40 credits Members referred : 0
« Reply #6 on: Jan 15, 2007, 01:00:31 PM »
well ,, I used imap-open with define my username and pass and it worked , but I don't wanna connect with my username and pass , I wanna any student be able to connect I used session code for that and I got that warning msg
<?
// session session_start();
// convert username and password from _POST or _SESSION
well ,, I used imap-open with define my username and pass and it worked , but I don't wanna connect with my username and pass , I wanna any student be able to connect I used session code for that and I got that warning msg
<?
// session session_start();
// convert username and password from _POST or _SESSION