Created
          June 16, 2012 01:10 
        
      - 
      
 - 
        
Save mironal/2939462 to your computer and use it in GitHub Desktop.  
    header("Content-type: application/json; charset=utf-8"); php
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| header("Content-type: application/json; charset=utf-8"); | |
| /* something... */ | |
| ?> | 
hi
above header using print json without echo or print_r function in php
it's possible
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
header('Access-Control-Allow-Origin: *');
header("Content-type: application/json; charset=utf-8");