Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^3: From php to perl + template solution

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

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

Html Pages that the user requests should give control to 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.

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

  • Comment on Re^3: From php to perl + template solution

Replies are listed 'Best First'.
Re^4: From php to perl + template solution
by Nik on Jul 13, 2010 at 08:45 UTC
    Call what program? Counter stuff and handlign of tempalte data is beeign done by, 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, runs. How? Consult your webserver manual
        At last someone understood correctly my problem! Thank you, i will immediately seek to it!

        Apart from this fine idea that i didn't know about and with little googlign seems to be done with 'mod_rewrite' is there PERHAPS any other way that i missed? Even simpler than this workaround?!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://849185]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2018-02-23 23:16 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (310 votes). Check out past polls.