You are here: Re: Newbie question « PHP Programming Language « IT news, forums, messages
Re: Newbie question

Posted by petersprc on 09/30/06 22:11

You can get the current file with the __FILE__ constant.

If you're interested in an online service, Google Analytics is a
powerful, free web statistics application that's easy to integrate into
your site. More info here:

http://www.google.com/analytics/

Best Regards,

John Peters

Steve Ray wrote:
> Guys
>
> I'm trying to write a function that will return that name of the page that
> you are currently viewing (and ultimately save this to a file)
>
> I want to then include this into a file that is included across the entirety
> of my site. The idea behind this is so that I can monitor which are the
> most popular pages on my site.
>
> ** I do not use a DB **
>
> I've found the PHP_SELF constant but this permanently returns (blank) when I
> display the contents of this onto the form
>
> Am I looking at the wrong info ?
>
> Ultimately can this be done ?
>
> In anticipation
>
> Steve
>
> ---------
> We don't stop playing because we get old
> We get old because we stop playing

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация