Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: From php to perl + template solution

by Nik
on Jul 13, 2010 at 07:58 UTC ( #849181=note: print w/ replies, xml ) Need Help??


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

Html Pages that the user requests should give control to index.pl with that webpage request as url parameter, so that the perl program calculate the page's counter data and display them.

Up until now i had the following approach: HTML page with php code in it that called a php module than calculated counter data and give the execution back to html page to display it.

But now with pure htmnl code with no calls to perl program and no php data, how the counter should be calculated? I need some way of calling index.pl to do stuff with that html file(template). And the question is how.


Comment on Re^2: From php to perl + template solution
Re^3: From php to perl + template solution
by Anonymous Monk on Jul 13, 2010 at 08:07 UTC
    Html Pages that the user requests should give control to index.pl with that webpage request as url parameter, so that the perl program calculate the page's counter data and display them.

    Ha

    Up until now i had the following approach: HTML page with php code in it that called a php module than calculated counter data and give the execution back to html page to display it.

    Sounds like php programs to me, not HTML page

    But now with pure htmnl code with no calls to perl program and no php data, how the counter should be calculated?

    Call a program

      Call what program? Counter stuff and handlign of tempalte data is beeign done by index.pl, but the user clcik on html pages instead. How? Please be more specific.
        Configure your webserver to NOT server html pages, so that when user click on a html page, index.pl runs. How? Consult your webserver manual

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://849181]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2014-07-13 23:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (252 votes), past polls