» Prakash Mohanty

Using the keyword “this” in PHP

You may come across number of functions, variables inside a class, you
call each one them as object of the class.

The keyword “this” is used in a class in php , to call and use these objects as
shown in the example below.

Published in: PHP

HTTP Request without CURL

A short tutorial on how to make a simple object for HTTP request without the need of using CURL. The way to accomplish that is using the function stream_context_create to prepare the string, and then you use fopen and stream_get_contents to get the response. <?php

class Custom_Http_Request
{
    private $_url;
    private $_body;
  ...

Published in: PHP
full indir download