Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: From php to perl + template solution

by Anonymous Monk
on Jul 13, 2010 at 07:47 UTC ( #849177=note: print w/ replies, xml ) Need Help??


in reply to From php to perl + template solution

But if a user clicks a random webpage how that webpage should invoke index.pl if the html page now has no php code in it?

Why would a webpage invoke a program? php ne perl


Comment on Re: From php to perl + template solution
Re^2: From php to perl + template solution
by Nik on Jul 13, 2010 at 07:58 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.

    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.
      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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2014-10-20 09:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (74 votes), past polls