Image

Imagetiger_yamato wrote in Imagephp

I'm sure there's got to be an easier way to do this...

How can I check to see what file called another file..?

Say I have a file called fields.php, I want to fork it so that if it's called by one file (say adminpanel.php) it will give more options than another file (say memberpanel.php). I was doing this just by having the sql fields included in each file, but that was alot of trouble to update them ALL every time I added a new field.

Or would it just be more practical to do it a different way?