Reputation: 481
How to call webroot php file in cakephp. For an example http://localhost/cakephp/test.php
is openings . Like that I want to open http://localhost/cakephp/abc.php.
Upvotes: 0
Views: 1205
Reputation: 11
In your ctp file just redirect to /abc.php
Webroot PHP files are directly accessible in ctp files, for redirect.
Upvotes: 0
Reputation: 2594
Simple Create a file project/app/webroot/abc.php
Replace something
<?php
// do something
?>
Then call it
Http://localhost/cakephp/abc.php
Upvotes: 1