Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2003
    Posts
    68

    Unanswered: perl script in php

    hi to all

    please tell me how to call or execute or embeded perl code in php.

    pl give me some exampl.



    regards
    jagan

  2. #2
    Join Date
    Jan 2004
    Location
    India
    Posts
    168
    check out this url for see the perl compactability in php

    http://in.php.net/pcre

    regards
    Rajesh
    Freelance and Technology Consultant
    -------------------
    Dreams are for ever
    -------------------

  3. #3
    Join Date
    Feb 2004
    Posts
    533
    I don't think its possible to "Embed" Perl in PHP directly, but you should be able to handle it like an include using the virtual() function. I have not tried this? let us know how it works, what works.

    Check these links.

    http://forums.devshed.com/t44621/s.html
    http://us2.php.net/manual/en/function.virtual.php

    you can also try using backtics as suggested in this DevShed thread.
    http://forums.devshed.com/showthread...threadid=42115



    .
    ~

    Bill

  4. #4
    Join Date
    Oct 2004
    Posts
    1
    Quote Originally Posted by savbill
    I don't think its possible to "Embed" Perl in PHP directly
    Actually, now you can - http://pecl.php.net/package/perl

  5. #5
    Join Date
    Feb 2004
    Posts
    533
    Quote Originally Posted by Paul_C
    Actually, now you can - http://pecl.php.net/package/perl
    This could come in handy.

    When you think something can't be done, someone will come up with a way of doing it.
    ~

    Bill

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •