Welcome Guest, Not a member yet? Register   Sign In
Localhost url not working in iframe
#2

(This post was last modified: 01-08-2016, 06:16 AM by InsiteFX.)

If your on a Windows system check your IE Options, there is a setting to allow for iframes in there.

DIRECTORY_SEPARATOR equals to "/" (Unix) or "\" (Windows), and this is where the problem lies,
you cannot change this constant from ‘/’ to ‘\’ .

if (!defined('DS'))
{
define('DS', '/');
}

So if your on Windows try using a \ Creating your own base_url helper.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: Localhost url not working in iframe - by InsiteFX - 01-08-2016, 06:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB