[PHP-WIN] Problem in windows

2003-06-14 Thread James Stanley
Hello, I just installed php/mysql on my windows machine, now when I try to run a script I get this: Use of undefined constant s_UID - assumed 's_UID' in c:\inetpub\wwwroot\php_test\inc\session.php And then some Undefined variable: s_UserInfo. Any thought why could this be? Thanks. James. -- P

Re: [PHP-WIN] setcookie

2001-10-16 Thread Stanley
Hi, thanks for your help! do you have the problem with IE (ver4 above)? i tried and cookie didn't capture by IE, but netscape can.. any advise. thx! actually, i use setcookie in page1.php and will show the value in page2.php... for authentication pls help... thx a lot! Stanley "Ro

[PHP-WIN] setcookie

2001-10-16 Thread Stanley
Hi, can anyone tell me what's the correct procedure for setcookie.. i already tried : setcookie ("TestCookie", $value,time()+3600); but it can't work... actually, i need to make the authentication page and the page should have expiry function... pls help!.. thx! Stanle

[PHP-WIN] Re: session timeout

2001-10-08 Thread Stanley Cheung
yup, i found some parameter for SESSION, but it has any effect when i change the value... pls advise and help. thx! Stanley "Michel Laine" <[EMAIL PROTECTED]> ? [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Stanley wrote: > > > Hi all, > > >

[PHP-WIN] session timeout

2001-10-07 Thread Stanley
Hi all, can anyone tell me how can config "session timeout" i know the default time is 180min, how can i make it shortly? pls advise. thx a lot! Stanley -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

[PHP-WIN] mysql news group

2001-10-03 Thread Stanley Cheung
Hi all, can anyone tell me where has mysql news group? thx! Stanley -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-WIN] current page

2001-09-27 Thread Stanley Cheung
Hi all, anyone can tell me the parameter for name of current page? e.g: www.abc.com/hello.php how can retrieve the value (hello.php)? pls advise. thx! Stanley -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP-WIN] redirect -- pls help!

2001-09-26 Thread Stanley
Hi all, How can i redirect URL under win2k? e.g: if (user == 1) { redirect to www.yahoo.com } else { redirect to www.google.com } Pls help thx! Stanley -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP-WIN] upload file

2001-09-24 Thread Stanley Cheung
Dear all, I tried to upload file with my php script... but my win2k always reject the file which is larger than 1.5MB can anyone help me to fixed this problem. pls advise. thx! Stanley -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional