Results 1 to 5 of 5
-
07-23-2005, 04:59 PM #1We Manage Everything.
- Join Date
- Sep 2002
- Location
- Behind your monitor.
- Posts
- 569
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 Phone & Live Chat
-
07-23-2005, 05:37 PM #2Web Hosting Master
- Join Date
- Sep 2002
- Posts
- 1,444
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.
-
07-23-2005, 05:45 PM #3We Manage Everything.
- Join Date
- Sep 2002
- Location
- Behind your monitor.
- Posts
- 569
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 Phone & Live Chat
-
07-23-2005, 07:57 PM #4WHT Addict
- 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";
}
-
07-23-2005, 08:06 PM #5We Manage Everything.
- Join Date
- Sep 2002
- Location
- Behind your monitor.
- Posts
- 569
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 Phone & Live Chat