PDA

View Full Version : PHP or Template conditional that identifies page?


Pryce
10-18-2004, 05:37 PM
Is there a way to determine what vBa page I'm on from a template or the phpinclude?

I want to load an ad on my front page (powered by vBa CMPS) only. It would be nice in the phpinclude (because I'm using phpAdsNew) if I could give it a conditional like

if(VBA_PAGE_IDENT == 'front_page')

Is that possible?

Brian
10-18-2004, 08:18 PM
if ($pages['name'] == 'pagename')

Our Sponsors
 

Pryce
10-18-2004, 09:37 PM
Beautiful! :) Thanks again Brian!