NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Website Development
Reload this Page Perl + PHP = No? (HELP)

Website Development Development concepts, scripts, sponsors and affiliate programs.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 05-24-2005, 10:24 AM THREAD STARTER               #1 (permalink)
New Member
Join Date: Mar 2005
Location: England
Posts: 7
Tris is an unknown quantity at this point
 



Caution Perl + PHP = No? (HELP)


Does anyone know if theres any posible way of Perl being able to be used/displayed on a PHP page?
????: NamePros.com http://www.namepros.com/website-development/92580-perl-php-no-help.html

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.

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.
Tris is offline  
Old 05-29-2005, 04:23 AM THREAD STARTER               #2 (permalink)
New Member
Join Date: Mar 2005
Location: England
Posts: 7
Tris is an unknown quantity at this point
 



Hmmm... does nobody have any idea or just doesn't want/can't be assed to tell me?
Tris is offline  
Old 05-29-2005, 04:41 AM   #3 (permalink)
Senior Member
 
pratiknaik's Avatar
Join Date: Feb 2005
Location: Lost somewhere in a stack of queues..
Posts: 1,200
pratiknaik is just really nicepratiknaik is just really nicepratiknaik is just really nicepratiknaik is just really nicepratiknaik is just really nicepratiknaik is just really nicepratiknaik is just really nicepratiknaik is just really nice
 



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
__________________
Ruby on Rails Developer - http://m.onkey.org
pratiknaik is offline  
Old 05-29-2005, 12:08 PM   #4 (permalink)
NamePros Member
Join Date: May 2005
Posts: 28
mrmark is an unknown quantity at this point
 



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.
mrmark is offline  
Old 05-29-2005, 03:42 PM THREAD STARTER               #5 (permalink)
New Member
Join Date: Mar 2005
Location: England
Posts: 7
Tris is an unknown quantity at this point
 



Originally Posted by mrmark
You can use a fork in php if you want a perl page to do something at the same time instead.
Whats this then?
Tris is offline  
Old 05-29-2005, 04:40 PM   #6 (permalink)
RJ
NamePros Webmaster


 
RJ's Avatar
Join Date: Feb 2003
Posts: 12,930
RJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatness
 



Find Marrow Donors! Cystic Fibrosis Parkinson's Disease
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?
__________________
@DomainBuyer facebook
RJ is offline  
Old 05-30-2005, 02:41 AM   #7 (permalink)
New Member
Join Date: May 2005
Posts: 10
orbitz is an unknown quantity at this point
 



you can include the perl (cgi) using virtual()

http://us3.php.net/function.virtual
orbitz is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tutorial: Getting started with PHP (The Basics) deadserious Webmaster Tutorials 60 11-17-2007 12:35 PM
HOWTO: Install the Apache Web Server, Perl, PHP, and MySQL on Windows deadserious Webmaster Tutorials 96 05-27-2007 02:24 PM
Googlism - What does google think of you? deadserious The Break Room 55 12-15-2005 10:09 AM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 09:13 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger