rejetto forum

counter

0 Members and 1 Guest are viewing this topic.

Offline AlexPebody

  • Occasional poster
  • *
    • Posts: 29
    • View Profile
Hi again! Please help add counter...,
how make add local counter php script in HFS?


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
please start a new topic when you ask something totally different.

php doesn't work in HFS, sorry.


Offline AlexPebody

  • Occasional poster
  • *
    • Posts: 29
    • View Profile
please start a new topic when you ask something totally different.

php doesn't work in HFS, sorry.

OK! :) But HFS server work on php? Maybe i compile script in open surce HFS?
Counter very need, bekose HFS server in LAN server, not to Internet...

have any chance? :)


Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
What sort of counter? I'm sure HFS counts hits and all that for the local network... mine does...


Offline AlexPebody

  • Occasional poster
  • *
    • Posts: 29
    • View Profile
What sort of counter? I'm sure HFS counts hits and all that for the local network... mine does...
I want add my local php script of counter in bottom screen of HFS,
HFS check all counter in shared dir and files, but i have other counter on php! :)

How make added this in hfs script, *.tpl or other files?


Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
Oooh. So you have your HFS on a server also running PHP? You would need to store the value of your other counter into a .txt file or something and then grab it using macro somehow.... We use this following macro to check if a build of our template is current.

To grab and set the varaible: {.set|new_build|{.load|http://rawr-designs.com/updater.php?project=tog&ext=.txt.}.}   

To print the variable: {.^new_build.}


Offline AlexPebody

  • Occasional poster
  • *
    • Posts: 29
    • View Profile
Oooh. So you have your HFS on a server also running PHP? You would need to store the value of your other counter into a .txt file or something and then grab it using macro somehow.... We use this following macro to check if a build of our template is current.

To grab and set the varaible: {.set|new_build|{.load|http://rawr-designs.com/updater.php?project=tog&ext=.txt.}.}   

To print the variable: {.^new_build.}

Thank you very match, but i need know, how make include php script in HFS
and run this script? I have some counters in php script, i want added this in to HFS,
olease help for my problem... Counter script LOCAL, if i using site HFS in Internet,
i take any counters and added html code in to the *.tbl, but i have LOCAL php counter
script... Like this: http://sibradio.ru/phpro/counter/info.php on my site: http://sibradio.ru/
counter name: WR Log... see? :):)


Offline MarkV

  • Tireless poster
  • ****
    • Posts: 764
    • View Profile
You can't include PHP in HFS, HFS doesn't support PHP. You'd have to install an additional server with PHP support.
http://worldipv6launch.org - The world is different now.


Offline AlexPebody

  • Occasional poster
  • *
    • Posts: 29
    • View Profile
You can't include PHP in HFS, HFS doesn't support PHP. You'd have to install an additional server with PHP support.

Yes, i understand... :(

Thanks all!


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
if you need HFS to run a php web application, you can't.

if you need HFS to include the result of a php web application hosted on another web server (may it be on your PC or over the internet), you can use {.load.}

if you need HFS to run a php shell script, you can use {.exec.}, provided you installed the php.exe as i did.

i think these are all possible cases.