Forgive me if this is one of those dumb questions.
I'm writing a theme for wordpress and making use of PHP variables to communicate between files.
<?php
$somevar = 'cat';
$display = 10;
include 'cat_display.php';
?>
It has suddenly ocured to me that while I am including my own files, Wordpress must be including my files. What if those variables that I think I have declared have already been declared up the chain and hold something important.
The last thing I want to do is open my .htaccess for abuse or have something unmeaningful added to the database.
$user_id = 10; // Oops just granted uberuser status to WillyWonka
Do I have anything to worry about?