ove.a
01-03-2007, 10:49 PM
1) Script Title:
Dynamic Ajax Content
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm
3) Describe problem:
I am using this script to show the forum which is located on 'domainname'/folder1/index.php on the server.
The page is showing up, but now the links on the forum is pointing to the folder I am calling the forum from ('domainname'/folder2/index.php) not the folder where the php file is located (folder1).
i.e. the url for logging in should be: 'domainname'/folder1/login.php. But with this script, the url becomes 'domainname'/folder2/login.php, which obviously doesn't work, since that file is located inside folder1.
Is there a way to set the links in the called php file to point to another directory than the directory where the page is called from?
I was originally using the SSI Iframe script, but the height resizing doesn't work in Opera, but this script works.
Dynamic Ajax Content
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm
3) Describe problem:
I am using this script to show the forum which is located on 'domainname'/folder1/index.php on the server.
The page is showing up, but now the links on the forum is pointing to the folder I am calling the forum from ('domainname'/folder2/index.php) not the folder where the php file is located (folder1).
i.e. the url for logging in should be: 'domainname'/folder1/login.php. But with this script, the url becomes 'domainname'/folder2/login.php, which obviously doesn't work, since that file is located inside folder1.
Is there a way to set the links in the called php file to point to another directory than the directory where the page is called from?
I was originally using the SSI Iframe script, but the height resizing doesn't work in Opera, but this script works.