Jump to content

[SOLVED] - How to access a php file directly


Recommended Posts

Hello all

 

Can anyone please tell me how to access a file directly? For example, I have created a page called test1.php and I have put it in the root folder.

 

Ordinarily, I would be able to access this by going to http://example.com/test1.php, but when I do, it goes to a 404, obviously because the controller is taking control.

 

How can I access http://example.com/test1.php ? I tried creating a new page in CMS through BO, but then I can only enter HTML in it and not PHP code.

 

Any ideas would be greatly appreciated.

 

Regards

 

Calvin

Edited by Teddy's Dad (see edit history)
Link to comment
Share on other sites

Thank you El

 

The permission was the problem. All is sweet now. Nice catch...

 

Calvin

 

You are very welcome.  I would be concerned if you ftp'ed the file that you have 'some odd' permission problem.  But that is for another day and post.  Happy PrestaShopping!

Link to comment
Share on other sites

×
×
  • Create New...