[PHP] Problem in windows
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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Problem in windows
I love that subject line... All I could think was, of course... Sorry, couldn't resist that.. ;-) On Sat, 2003-06-14 at 08:02, James Stanley wrote: 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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Problem in windows
On Sat, 14 Jun 2003 08:02:57 -0400, you wrote: 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. Any script or just one script? Try a simple ? phpinfo(); ? That will probably work... it sounds like the problem is your script rather than your platform. If it's a stock script you're trying to run, my first guess would be that you're missing a define() - probably because you're not include()ing or require()ing a file correctly. Second guess is that it really should be 's_UID' or $s_UID not s_UID. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php