Hi Everyone,
Sorry about this, I know I posted this somewhere else (but I Can't remember where so I'm posting it here), and I ave some more info to add:
So my problem is that I'm auto-generating pages from an input form - putting it into /products/ - For convenience I am using the same header and footer files I have used in my other pages - header.php and footer.php located at /scripts/. The header file is required via php and works in my main files - located at '/'. So, when a file is created in /products/ and I open it, I get this error:
"Warning: require(scripts/header.php) [function.require]: failed to open stream: Operation not permitted in /www/vndv.com/q/w/e/qwerty8/htdocs/products/My_Face.php on line 1
Fatal error: require() [function.require]: Failed opening required 'scripts/header.php' (include_path='.:/usr/lib/php') in /www/vndv.com/q/w/e/qwerty8/htdocs/products/My_Face.php on line 1"
However if I move it to '/' it works, and it works if I copy and paste the code from the file into a new file in the products directory, so it has something to do with its creation through a script, but what?
EDIT: I've included the script that creates the file, in case it helps
Thanks in advance for any help,
Theodore