I have following code testinclude.php <% echo "A $color $fruit"; // A include 'vars.php'; echo "A $color $fruit"; // A green apple %>
vars.php <% $color = "green"; $fruit = "Apple"; %> But when i run the testinclude program I always get "Undefined variable errro on very first line. I know it is because vars are not defined yet, but i remember last time those warnings never used to come. What setting is needed in php.ini file ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php