Welcome Guest, Not a member yet? Register   Sign In
Issue with Codeignter3 with network calls functions
#7

(05-16-2018, 11:27 PM)peter2015 Wrote:
(05-16-2018, 03:13 AM)InsiteFX Wrote: I always do this first when using those commands.

PHP Code:
<?php
defined
('BASEPATH') OR exit('No direct script access allowed');

ob_start();

class 
YourClass
{



Give that a try and see if it helps.

Thanks, this worked ! ... I tried to implement it in other function which has a curl, file_get_content, get_headers It didn't work .

Do you have any idea ?

Thanks again.

You have Private Messaging turned off so have to answer here.

Please read these two articles on output buffering.

PHP Manual - ob_start

Everything About Output Buffering in PHP

Hope that helps.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: Issue with Codeignter3 with network calls functions - by InsiteFX - 05-17-2018, 03:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB