Problems including php within same directory
Hi there
I've got some problems with including a file that is in the same directory as my "function.js" file.
I have the following structure:
/
with index.php including
/include/functions.js
Now I want to include within this function.js a function.php:
- $.get('/include/functions.php', { getAction: 'get_metadata', getPageHash: hash }, ....
That just won't work. If I include it from / it works:
- $.get('/functions.php', { getAction: 'get_metadata', getPageHash: hash }, ...
I really can't see through this. Is there any restriction?
Thanx,
Max