This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
PHP / PHP include not working for me
« on: November 05, 2015, 04:25:06 PM »
I have website setup like domain.com/category/pagename.html and i have added a php include to the very top of the pagename.html file : <?php include('../folder/file.php'); ?>
The problem is this is showing in the page source which means its not able to find the file.php.
I have correctly setup a php.ini file and the htaccess file in the root of the domain as i use the same setup on another server which uses WHM/Cpanel and works pefectly.
Is there anything i need to configure within CWP for this to work correctly.
The problem is this is showing in the page source which means its not able to find the file.php.
I have correctly setup a php.ini file and the htaccess file in the root of the domain as i use the same setup on another server which uses WHM/Cpanel and works pefectly.
Is there anything i need to configure within CWP for this to work correctly.
Pages: [1]