Welcome Guest, Not a member yet? Register   Sign In
PHP code revealed when viewed on iPad2?
#1

[eluser]Sven Delle[/eluser]
I'm testing development on a MacBook Air. And the codeigniter basic site works fine. But when I connect to my localhost (and the right website directory) from an iPad2 all I see it the php code of the index.php file.

And yes, it is the ... :

Code:
<?php

/*
*---------------------------------------------------------------
* APPLICATION ENVIRONMENT
*---------------------------------------------------------------
*
* You can load different configurations depending on your
* current environment. Setting the environment also influences
* things like logging and error reporting.
*
* This can be set to anything, but default usage is:
... part I see.

Now, what went wrong here? I thought the MacBook apache2 server would just simply feed the output of the file. I wouldn't expect to have to make specific changes to the setup of the iPad to view a simple website. Something must have gone terribly wrong.

Anyone have any ideas?




Theme © iAndrew 2016 - Forum software by © MyBB