NameSilo

Perl + PHP = No? (HELP)

SpaceshipSpaceship
Watch

Tris

New Member
Impact
0
:!: Does anyone know if theres any posible way of Perl being able to be used/displayed on a PHP page? :!:

It's just I have a Perl download counter, and after rebuilding my website (Releasing a new version) which HAS to use php pages for about 95% of it to work, there seems to be no possible way of display the previous counts. I would hate to have to go through the trouble of getting a new counter because I would loose all my old counts and just generally be a pain in the ass. :sick:

If anyone has any suggesestions or knows how I could get around it please share, I would be very greatful as I'm generally behind on developement. :bingo:
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Hmmm... does nobody have any idea or just doesn't want/can't be assed to tell me?
 
0
•••
Nobody is saying anything because your question it self is a question in it self. With the information you provides, it's quite hard to figure out what you are trying to do.

Why can't you just port your Perl scripts tp PHP scripts ? How are you storing the count ?

-Pratik
 
0
•••
No PHP and Perl pages can not be contained in the same page. You can use a fork in php if you want a perl page to do something at the same time instead.
 
0
•••
mrmark said:
You can use a fork in php if you want a perl page to do something at the same time instead.

Whats this then?
 
0
•••
As a perl programmer who switched over to PHP programming, there were several times I needed to run a Perl script and get the results into PHP. You can use the PHP 'exec' function to run your Perl script, and if needed, parse whatever is returned from it using other PHP functions. (Your server still has to be able to run Perl CGI scripts.)

http://www.php.net/manual/en/function.exec.php

This seems like a complicated way of maintaining a counter though. Couldn't you access the counts another way using PHP?
 
0
•••
0
•••
Dynadot — .com TransferDynadot — .com Transfer

We're social

Spaceship
Domain Recover
CatchDoms
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back