I'm working with PHP 4 on Win98 Platform. I keep getting undefined variable errors whenever I use anything like "if" or "else" statements in the php code. "register globals" is set to "on" in the php.ini and always has been via my installation (unlike most I've read about where that was not the case an tuning it on solved thier problem). Is there a variable library of some kind that I've not gotten loaded? What am I missing?
heya phil! try posting an example of the script where you are getting the errors. if you installed php and are able to execute scripts, then u should have everything needed for it to all be functional, especially with variables.
blue
Thanks Blue!
I found out that that script and others actually DO work fine. Problem is just not on this one machine (Win98 Platform). When I installed everything and configured all to work on NT (2000), All was fine. I didn't post the script because it doesn't matter what it is. It seems to be happening on simple conditional statement lines whenever an "if" or "else" shows up.