Welcome Guest, Not a member yet? Register   Sign In
contents of php file shows in browser window
#7

[eluser]entropy[/eluser]
I found the answer:

First of all, all php files must begin with:

Code:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

Then I also have to connect to the database.

Then it works Big Grin

Thanks for the interest in this topic of mine Wink


Messages In This Thread
contents of php file shows in browser window - by El Forum - 10-16-2012, 12:08 PM
contents of php file shows in browser window - by El Forum - 10-16-2012, 12:18 PM
contents of php file shows in browser window - by El Forum - 10-16-2012, 12:24 PM
contents of php file shows in browser window - by El Forum - 10-16-2012, 12:24 PM
contents of php file shows in browser window - by El Forum - 10-16-2012, 12:27 PM
contents of php file shows in browser window - by El Forum - 10-16-2012, 12:48 PM
contents of php file shows in browser window - by El Forum - 10-16-2012, 12:57 PM
contents of php file shows in browser window - by El Forum - 10-16-2012, 01:00 PM
contents of php file shows in browser window - by El Forum - 10-16-2012, 01:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB