CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Perl-to-PHP

  1. #1
    Join Date
    Sep 2010
    Posts
    2

    Question Perl-to-PHP

    Hi,

    I have two applications, one Perl one PHP. Both applications require logins. When someone logs into the Perl application, they have the choice of switching to the PHP application. I want them be able to switch to the PHP application *without* having to login a second time.

    Is this possible? What would be the best/secure method doing this?

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: Perl-to-PHP

    Use PERL to share your PHP session.

    http://search.cpan.org/~miyagawa/PHP...PHP/Session.pm
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  3. #3
    Join Date
    Sep 2010
    Posts
    2

    Re: Perl-to-PHP

    Interesting link. Thanks, it is good to know that the two languages can "communicate". Unfortunately it uses Perl to read PHP and rewrite it as Perl. I need Perl to pass the information to PHP and fire the PHP session.

  4. #4
    Join Date
    May 2002
    Posts
    10,943

    Re: Perl-to-PHP

    Quote Originally Posted by Cantaloupe
    Unfortunately it uses Perl to read PHP and rewrite it as Perl. I need Perl to pass the information to PHP and fire the PHP session.
    You're missing the point. Pass the information with sessions. It doesn't matter what language starts.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured