hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : Help!: PHP/Perl Question
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

Help!: PHP/Perl Question

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-09-2002, 03:10 PM
whctrlpanel whctrlpanel is offline
Disabled
 
Join Date: Jun 2002
Location: Memphis TN
Posts: 15

Help!: PHP/Perl Question


Hello,
I was wondering if you could execute some perl code within a PHP script....

In that I need to code in primarily PHP to keep session and also input Perl code like this

<?php
session_start();
?>
#/usr/bin/perl
--perl code--

or something like that....

Reply With Quote


Sponsored Links
  #2  
Old 09-09-2002, 03:56 PM
deadserious deadserious is offline
Aspiring Evangelist
 
Join Date: May 2002
Posts: 441
You could just write the perl script and then try calling it like this:

<?php virtual("/path/to/yourperlscript.pl"); ?>

Where ever you wanted it to show up.

I don't think you can do what you are saying though, but I could be wrong.

Reply With Quote
  #3  
Old 09-09-2002, 07:16 PM
mind21_98 mind21_98 is offline
Web Hosting Master
 
Join Date: Dec 2000
Location: San Diego, CA
Posts: 1,571
Quote:
Originally posted by deadserious
You could just write the perl script and then try calling it like this:

<?php virtual("/path/to/yourperlscript.pl"); ?>

Where ever you wanted it to show up.

I don't think you can do what you are saying though, but I could be wrong.
I wrote a PHP module for the hell of it that does exactly what he wanted. It had a bunch of functions that corosponded to the actual Perl C library function calls to call functions, etc. The only thing is that it was kinda difficult to compile.

The source should be available at http://msalem.translator.cx/perlinphp.php if anyone's interested.

__________________
-Mooneer
Thoughtbug Software: Hosting shouldn't require any thought.
Legitimate host? Support the Code of Ethical Conduct

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
cPanel & WHM Software 11.36 Reaches Stable Tier Status Web Hosting News 2013-04-09 11:44:33
cPanel Security Updates Address Perl Module Vulnerabilities Web Hosting News 2012-12-06 12:55:54
Rackspace Blog Looks at Easy Outsourcing for App Development Blog 2012-03-05 19:07:48
Web Host Liquid Web Donates $10,000 to The Perl Foundation Web Hosting News 2011-09-23 18:45:40
Web Host A2 Hosting Launches QuickInstaller Tool for VPS Plans Web Hosting News 2011-08-19 20:00:53


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?