Posting Data Directly To Php File

From controller/view page I’m redirecting to file.php to collect data and show it. Next from that file.php I’m posting data to file2.php using form POST method but it says

Error 404

Unable to resolve the request "file2.php"

The same code is working on localhost :o

dariooo its the url manager why don’t you include the files as one of your actions

Check you htaccess config, seems like your rewriting rules are ignoring actual file existance.