PHPix is not pre-declaring variables, and the current version uses globals from Get/Put. The next version will use $_REQUEST[var] to be more safe.
But to remove these notices, go to your php.ini and change the error reporting to print only errors, not everything like notices.
Your setup is the equivalent of using strict mode in perl, and the PHPix code is not 100% polished yet :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I keep getting the message Notice: Undefined variable: mode in C:\Documents and Settings\default\My Documents\picture\index.phtml on line 9
Notice: Undefined variable: mode in C:\Documents and Settings\default\My Documents\picture\index.phtml on line 9
Notice: Undefined variable: SCRIPT_FILENAME in C:\Documents and Settings\default\My Documents\picture\index.phtml on line 22
Notice: Undefined offset: 1 in C:\Documents and Settings\default\My Documents\picture\index.phtml on line 24
Notice: Undefined offset: 1 in C:\Documents and Settings\default\My Documents\picture\index.phtml on line 25
Notice: Undefined variable: SCRIPT_NAME in C:\Documents and Settings\default\My Documents\picture\index.phtml on line 27
Notice: Undefined variable: dispsize in C:\Documents and Settings\default\My Documents\picture\index.phtml on line 30
Notice: Undefined variable: start in C:\Documents and Settings\default\My Documents\picture\index.phtml on line 31
Notice: Undefined variable: pic in C:\Documents and Settings\default\My Documents\picture\index.phtml on line 32
Notice: Undefined variable: album in C:\Documents and Settings\default\My Documents\picture\index.phtml on line 32
Notice: Undefined variable: mode in C:\Documents and Settings\default\My Documents\picture\index.phtml on line 35
Notice: Undefined variable: mode in C:\Documents and Settings\default\My Documents\picture\index.phtml on line 35
what should I do?
PHPix is not pre-declaring variables, and the current version uses globals from Get/Put. The next version will use $_REQUEST[var] to be more safe.
But to remove these notices, go to your php.ini and change the error reporting to print only errors, not everything like notices.
Your setup is the equivalent of using strict mode in perl, and the PHPix code is not 100% polished yet :)