Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

calling php from perl


zathrus

Recommended Posts

Posted

I've got a tricky situation, and I'm trying to see whether it's reasonable or not. :roll:

 

The website I'm working on has the os commerce section, and has a seperate information section that was written in perl.

 

I was asked to see if it was possible to get the left and right columns of boxes displayed in the perl section. It sounded easy, before I actually used my brain.

 

None of the solutions I've found on other boards have worked so far.

 

I've tried using javascript to call the php functions from the html template that is being displayed, but that seems to be ignored.

 

I've tried to run the php file and have the output returned to perl as well, but that isn't working either.

 

 

I read on one bulliten board of a USE command module you can include with perl that will translate your php to perl on the fly, but, that isn't what I'm looking for.

 

Has anyone else tried to do this with oscommerce before?

 

This = have the shopping cart left and right columns displayed and operational in a perl/cgi file that is seperate from oscommerce.

 

It seems no matter where I try to hide my php code, whether in the html template, or in some string variable in perl, it never gets interpretted as actual code, only plain text.

 

Thanks in advance. This ought to be a fun thread. 8)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...