I am trying to set up an account with the ad network. I have it all working on pages in my root directory, but in subdirectories I see the following error message printed right above the ad (ad still shows up): Warning: open_basedir restriction in effect. File is in wrong directory in http://www.4freephonebillanalysis.com/footer.txt on line 7 Can anyone explain in simple words what the problem is, and how I would go about correcting it? Geir
It's a restriction your hosting provider has specifically set up so files outside the directory tree cannot be accessed. You can find info on it here: http://www.php.net/manual/en/features.safe-mode.php#ini.open-basedir Ask them if there is a specific place within your domain you could put it where it would work anywhere within your domain.
Thank you Shawn, It seems putting the ad_network.php file in each directory will remove this warning message. Is this an acceptable work-around, or will it cause any trouble on your end? Geir