Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2002
    Location
    Behind your monitor.
    Posts
    516

    Need Perl script to include PHP file immediately

    Hi folks,

    I have a perl based billing system with a new PHP based helpdesk. Instead of breaking the user out our our client login area using target_blank I want to encapsulate the php based helpdesk in the existing CGI.

    I think it might be a simple piece of code. If not, let me know and perhaps we can work out a paid deal.

    Thanks
    GlowHost → Affordable Managed Web Hosting Since 2002.
    Cloud Servers- Hot Failover + Clustered Storage
    Managed Dedicated Servers - Semi-Dedicated Servers
    Shared & Reseller packages - 20 Min Ticket Response 24/7/365

  2. #2
    Join Date
    Sep 2002
    Posts
    1,448
    what about something like this...

    http://www.jumbocgi.com/products/pageinserter/


    I know what you are thinking of though... Something like the perl equivalent of php include()?
    You are unique, just like everyone else.

  3. #3
    Join Date
    Sep 2002
    Location
    Behind your monitor.
    Posts
    516
    Yep, exactly a perl version of a PHP include would be great. I suppose I could do an Iframe but I think not with what the nature of the script does.

    Hmm, that looks like it might do the trick, I'll have a look thanks
    GlowHost → Affordable Managed Web Hosting Since 2002.
    Cloud Servers- Hot Failover + Clustered Storage
    Managed Dedicated Servers - Semi-Dedicated Servers
    Shared & Reseller packages - 20 Min Ticket Response 24/7/365

  4. #4
    Join Date
    Dec 2003
    Location
    Earth
    Posts
    144
    I haven't ever tried this but maybe you could do:

    Code:
    my $php_page = `php php-file.php`;
    if($php !== $javascript){
    echo "Good it's not supposed to be";
    }

  5. #5
    Join Date
    Sep 2002
    Location
    Behind your monitor.
    Posts
    516
    I think I found a solution, which is silly it took me two days to think of. I just link to the helpdesk like before but made the templates look like the cgi based system and they can link back and fourth now without a problem. Now the goal is to figure out how to log them out properly from both systems simultaneously

    Ahh what fun!

    Thanks guys and gals.
    GlowHost → Affordable Managed Web Hosting Since 2002.
    Cloud Servers- Hot Failover + Clustered Storage
    Managed Dedicated Servers - Semi-Dedicated Servers
    Shared & Reseller packages - 20 Min Ticket Response 24/7/365

Posting Permissions

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