mahfooz
09-19-2006, 01:54 AM
i have one main directory which has 3-sub directory, named as [ inc, products, and images ],
inc directory consists on three files named as links.php, memberinfo.php, and login.php<br /><br />
products directory consists on file named as ctegory.php, products.php and product detail.php
there is also an main.php on maon directory.<br /><br />
i include [ login.php & member.php ] page from inc directory on each files on the directory of products [ ctegory.php, products.php and product detail.php ], if member is not register then login.php page show else member.php page display including main.php<br /><br />
the problem is that if i manage [ links of links.php ] for main.php then there is problem with inc directory pages, and if i mange [ links of links.php ] according to inc directory then main.php links does't work.<br /><br />
i want to solve this problem so that in no. of directory i can manage no of links by using the single links.php file on each directory<br /><br />
inc directory consists on three files named as links.php, memberinfo.php, and login.php<br /><br />
products directory consists on file named as ctegory.php, products.php and product detail.php
there is also an main.php on maon directory.<br /><br />
i include [ login.php & member.php ] page from inc directory on each files on the directory of products [ ctegory.php, products.php and product detail.php ], if member is not register then login.php page show else member.php page display including main.php<br /><br />
the problem is that if i manage [ links of links.php ] for main.php then there is problem with inc directory pages, and if i mange [ links of links.php ] according to inc directory then main.php links does't work.<br /><br />
i want to solve this problem so that in no. of directory i can manage no of links by using the single links.php file on each directory<br /><br />