Problem with calling a file.
I am using a calculator script which I downloaded for free. It works when I call the file directly from the url mysite.com/filename but when I call it using an "include" it doesn't work.
This has 2 files being a .php and .tpl.
If I use just the filename with my include everything below that page (footer) doesn't work. If I use (../filename) the footer works but the script doesn't show up on the page.
The read me on this script stats that we just need to correct the url in the .php file which I have done. In the .tpl file there is nowhere which I can see that the url is displayed nor does it have the .php file being called within it.
Can anyone help please.