Hello together, I am about to start a project and most of it is now running. Only some small problems are left and i do not know how to solve. On http://www.domain.tld is a Script running that generates with <a href="<?= $CATLINK[14] ?>">Categorie 14 <?= $CAT_COUNT[14] ?> Entries</a> PHP: the Link for Category 14 and also the amount of Entries to that Category. Now i want to generate the same piece on the http://sub.domain.tld/ (Same Domain, just a Sub) Is there any 'short' way to get the same Information Shown here? For me it just sounds i would have to tell that he should go ../ or i give the full path. But how to do so? Does somebody has an idea? Greetings Sascha
Normaly you could use the includes from ../ but i'm not shure what you are using for kind of scripting.
It looks all in all damn complicated at all *laughs* How this ../ incluce would be function all in all, because there i don't even know how it would be done. <a href="<?= ../$CATLINK[14] ?>">Categorie 14 <?= ../$CAT_COUNT[14] ?> Entries</a>That will be not the right way after i learned that eben a simple / after an URL is much more than just a simple / How would i explain the php script to check in an other folder/domain. Kind Regards