Posted By

d0ri0 on 08/19/10


Tagged


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

sofcase
melik


codeigniter - JSON header


 / Published in: PHP
 

  1. $this->output->set_status_header(200);
  2. $this->output->set_header('Content-type: application/json');

Report this snippet  

You need to login to post a comment.