rejetto forum
May 25, 2012, 12:06:59 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: counter  (Read 1313 times)
0 Members and 2 Guests are viewing this topic.
AlexPebody
Regular poster
**
Offline Offline

Russian Federation Russian Federation

Posts: 29


View Profile Email
« on: January 26, 2009, 11:28:10 PM »

Hi again! Please help add counter...,
how make add local counter php script in HFS?
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11830


View Profile
« Reply #1 on: January 27, 2009, 08:14:44 AM »

please start a new topic when you ask something totally different.

php doesn't work in HFS, sorry.
Logged
AlexPebody
Regular poster
**
Offline Offline

Russian Federation Russian Federation

Posts: 29


View Profile Email
« Reply #2 on: January 28, 2009, 01:32:03 AM »

please start a new topic when you ask something totally different.

php doesn't work in HFS, sorry.

OK! Smiley 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? Smiley
Logged
TSG
Operator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #3 on: January 28, 2009, 02:42:21 AM »

What sort of counter? I'm sure HFS counts hits and all that for the local network... mine does...
Logged

AlexPebody
Regular poster
**
Offline Offline

Russian Federation Russian Federation

Posts: 29


View Profile Email
« Reply #4 on: January 28, 2009, 07:07:32 AM »

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

How make added this in hfs script, *.tpl or other files?
Logged
TSG
Operator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #5 on: January 28, 2009, 07:16:23 AM »

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

rejetto forum
« Reply #5 on: January 28, 2009, 07:16:23 AM »

Do you like this software? Consider even $2
 Logged
AlexPebody
Regular poster
**
Offline Offline

Russian Federation Russian Federation

Posts: 29


View Profile Email
« Reply #6 on: January 28, 2009, 11:21:17 AM »

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? SmileySmiley
Logged
MarkV
Insane poster
*****
Offline Offline

Germany Germany

Posts: 725



View Profile
« Reply #7 on: January 28, 2009, 12:40:40 PM »

You can't include PHP in HFS, HFS doesn't support PHP. You'd have to install an additional server with PHP support.
Logged

Welcome to Twinkle Park! Grin
AlexPebody
Regular poster
**
Offline Offline

Russian Federation Russian Federation

Posts: 29


View Profile Email
« Reply #8 on: January 28, 2009, 08:42:54 PM »

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

Thanks all!
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11830


View Profile
« Reply #9 on: January 29, 2009, 04:42:33 AM »

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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 21, 2012, 11:28:59 PM
anything