Printer Friendly Version Print this thread
Email this thread to a friend eMail this thread to a friend
  • PHP or ASP (In: General Search Engine Optimization)
  • what is best php or html? (In: General Search Engine Optimization)
  • Featured Web Site Template

    Hundreds More at Free Site Templates.com!

    Web Site Partners
    Sponsored Links
    Jet City Software
     
    Whos Here ?
    Reflects user activity within the last 5 minutes
    Moderator(s): Prowler, jcokos
    Member Message

    TracyJ
    Joined: Eons Ago
    # Posts: 592

    View the profile for TracyJ Send TracyJ a private message

    Posted: 2004-Apr-19 22:30
    Edit Message Delete Message Reply to this message

    Probably a silly question, but can you put PHP code in a Perl script? I'm doing a major site move and using most PHP, but in order to get the site ready by my deadline, I don't think I'll have time to re-write one particularly complex script, so I'm wondering if I can temporarily just embed some PHP code into a Perl script instead.

    Thanks!

    Tracy



    NEntropy
    Joined: Dec 08, 1999
    # Posts: 1117

    View the profile for NEntropy Send NEntropy a private message

    Posted: 2004-Apr-20 06:21
    Edit Message Delete Message Reply to this message

    Running PHP and Perl concurrently? I don't think that's possible. You can run external programs in PHP, so one possible way is to write the perl script as a standalone program and run the program within PHP... But this is valid only for certain functions.





    TracyJ
    Joined: Eons Ago
    # Posts: 592

    View the profile for TracyJ Send TracyJ a private message

    Posted: 2004-Apr-20 15:34
    Edit Message Delete Message Reply to this message

    That's an idea. I'll have to look into that. Though... the more I think about trying to make some PHP stuff work within the parameters of my CGI script, the more I think it's just as fast to re-write the whole thing in PHP. Hmm. We'll see, I guess! smile



    jcokos
    Staff
    Joined: Eons Ago
    # Posts: 143

    View the profile for jcokos Send jcokos a private message

    Posted: 2004-Apr-21 03:55
    Edit Message Delete Message Reply to this message

    It is possible, using one of a number of Modules from CPAN.

    http://search.cpan.org/search?query=php&mode=all

    I recall reading somewhere (can't remember) that there's a plugin for PHP that can work the other way around, too.


    You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
    1. You have not yet logged in, or registered properly as a member
    2. You are a member, but no longer have posting rights.
    3. This is a private forum, for which you do not have permissions.

    If you are a recent member, it's possible that you simply have not yet confirmed your account. Please check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions contained within.

    If you cannot find this message, click here to Re-Send it.

    If you are still experiencing problem, please read the Login Assistance Article for some advice on what may be causing your login not to work properly.

    Switch to Advanced Editor and ... Create a New Topic or Reply to this Thread

    New posts Forum is locked
    © 1995  ·  iWeb, Inc  ·  DBA JimWorld Productions