Jump to content

Open file and get contents


rockinaway

Recommended Posts

What editor are you using? Have you tried echo'ing $file. Just because your editor doesn't highlight the function doesn't mean it exists. I guess you are using Dreamweaver or something. Dreamweaver is not a proper PHP editor so dont trust any feed back it gives. You are always better of running your code through PHP to see if something works or not.

I don't really have time to look it up now.

However there are 2 really good functions for this inside the codeignitor framework.

2-3 of the BEST functions I have ever found.

Very simple to use, and quick.

It's under file helpers, but they are amazing.

I carry that set around everywhere now.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.