我有一个有效的页面名称,我需要将其解析为页面标题。例子:
Main.TargetPage
(:title Page One:)
I am the page of which the title needs to be got.
Main.CurrentPage
(:title Example Page:)
I am the page that the PHP script is being run from.
我怎样才能得到Main.TargetPage
from的标题Main.CurrentPage
?