Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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


Comment on Re^3: From php to perl + template solution
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 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
        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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2014-08-23 03:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (171 votes), past polls