Welcome Guest, Not a member yet? Register   Sign In
how include VIEW outside the codeigniter?
#6

[eluser]Phil Sturgeon[/eluser]
A view is a PHP file, you can include a PHP file directly but it will only parse the data that is provided to it. If you want to scrape the HTML from your CodeIgniter site you can use curl or file_get_contents() to grab the entire output and leave a HTML comment in the header to explode on.

This sounds weird but is pretty common, I had to do this to integrate MSN's template into the MSN Money UK website a year or two back. Dirty, dirty, madness.


Messages In This Thread
how include VIEW outside the codeigniter? - by El Forum - 01-12-2011, 09:02 AM
how include VIEW outside the codeigniter? - by El Forum - 01-12-2011, 09:32 AM
how include VIEW outside the codeigniter? - by El Forum - 01-12-2011, 12:15 PM
how include VIEW outside the codeigniter? - by El Forum - 01-12-2011, 11:05 PM
how include VIEW outside the codeigniter? - by El Forum - 01-13-2011, 02:49 AM
how include VIEW outside the codeigniter? - by El Forum - 01-13-2011, 06:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB