X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   .php page in Static Pages? (https://forum.x-cart.com/showthread.php?t=25128)

pengrus 09-21-2006 07:20 AM

.php page in Static Pages?
 
I was trying to create a new page called contact.php within static pages, and found the Static Pages won't recognize the .php file, and always shows page not found, no write permission, etc.

So is there a way to create and include a .php page in Static pages?

Thanks!

pengrus 09-21-2006 07:48 AM

Re: .php page in Static Pages?
 
More specifically, I want to have this code in the contact page in static page:

Code:

<?php session_start(); ?>
<?php include("/home/orbring/public_html/contact/embed.php"); ?>


I created a contact.html page and tried this code
Code:

{php}

<?php session_start(); ?>
<?php include("/home/orbring/public_html/contact/embed.php"); ?>

{/php}


It does not work.

Thanks a lot for your help.


All times are GMT -8. The time now is 10:12 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.