http://qs1969.pair.com?node_id=849192


in reply to Re: From php to perl + template solution
in thread From php to perl + template solution

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^3: From php to perl + template solution
by marto (Cardinal) on Jul 13, 2010 at 09:31 UTC

    Seriously, did I wake up in 1994 today? A page counter? You've posted several times over the years about such things. Again your post seems to be about basic coding problems which aren't language/technology specific, others have already given you the pseudocode you need to implement. Consider installing something like awstats if you are concerned with site usage statistics.

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re^3: From php to perl + template solution
by moritz (Cardinal) on Jul 13, 2010 at 08:56 UTC
    If the user request a web page from my website, how the index.py will be called

    Are you sure you're still talking about the same problem as before? Do you really need to mix perl, python and php?

    And can you not actually avoid calling an external program, and do the counter updating in Perl? If not, what prevents you? <bllockquote> so that it know for WHAT webpage he need to add, display counter?

    Usually by passing command line arguments, or setting environment variables. But of course that depends on how the called script expects to get its arguments.

    Perl 6 - links to (nearly) everything that is Perl 6.