Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Integrate outside file


dan182skater

Recommended Posts

Posted

Hello, I am tryoing to integrate my own php file that I got from hotscripts.com into my site.[ What I was thinking I would have to do is just copy the top part which is before the <body text> and the bottom part after the <body text> where it says things such as <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> This would make sense to do this, but I keep getting errors from the php. When I put the file directly in my catalog folder without modifications, it works fine, but when I try to add the php include header and footer, etc. it doesnt let me, the file I'm using (unmodified) i'll just put in my images directory so that you can view it. The edited file I have is in the catalog directory. Here is the unedited file...

 

http://mp3shop4u.com/images/email.php

 

Here is the edited file...

 

http://www.mp3shop4u.com/email.php

 

Any help is appreciated. THANK YOU!!

 

-Daniel

 

EDIT: The edited file one might be changing because of me playing around with it continuously.

Archived

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

×
×
  • Create New...