I have a problem though. When I access php files I always get warnings like the one below:
Warning: Undefined variable: op in c:\inetpub\wwwroot\php\phpwebsite_sv\setup\index.php on line 18
And if I go further I get lots of same warnings all over the place. I use IIS5 with PHP4 on my win2000 machine. Should I change something to prevent all warnings or do I have wrong extensions or what? I'd be very happy for an answer.
/Patrik
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Did you edit your php.ini file? It is located in c:\winnt\php.ini. In that file change the "error_reporting" value to "E_ALL & ~E_NOTICE". That will get rid of alot of the errors. I'm still getting alot of warnings too, if I get rid of them I will post how to do ithere.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-02-13
I have gotten rid of alot of warnings..
Still having problem with sessions ...
can't make it work :(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hah! That didn't take long. Are the warnings you are getting saying something about "cannot open file for inclsion"? If so you will need to edit you php.ini file (again) and add to the "include_path" value. I edited mine to say "./;..;c:\www". "./" is the current directory, ".." was already there so I wasn't going to remove it, and "c:\www" is the root of my web dir.
Hope this helps.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all!
Im completely new to php and phpwebsite!
I have a problem though. When I access php files I always get warnings like the one below:
Warning: Undefined variable: op in c:\inetpub\wwwroot\php\phpwebsite_sv\setup\index.php on line 18
And if I go further I get lots of same warnings all over the place. I use IIS5 with PHP4 on my win2000 machine. Should I change something to prevent all warnings or do I have wrong extensions or what? I'd be very happy for an answer.
/Patrik
Did you edit your php.ini file? It is located in c:\winnt\php.ini. In that file change the "error_reporting" value to "E_ALL & ~E_NOTICE". That will get rid of alot of the errors. I'm still getting alot of warnings too, if I get rid of them I will post how to do ithere.
I have gotten rid of alot of warnings..
Still having problem with sessions ...
can't make it work :(
Hah! That didn't take long. Are the warnings you are getting saying something about "cannot open file for inclsion"? If so you will need to edit you php.ini file (again) and add to the "include_path" value. I edited mine to say "./;..;c:\www". "./" is the current directory, ".." was already there so I wasn't going to remove it, and "c:\www" is the root of my web dir.
Hope this helps.