Skip to content
This repository was archived by the owner on Sep 9, 2026. It is now read-only.
This repository was archived by the owner on Sep 9, 2026. It is now read-only.

echo $response->getContent(); not showing anything. #294

Description

@discountsqatar
        require_once 'vendor/autoload.php'; 
        use JonnyW\PhantomJs\Client;
        $client = Client::getInstance();
        $client->getEngine()->setPath('ext'.DIRECTORY_SEPARATOR.'bin'.DIRECTORY_SEPARATOR.'phantomjs.exe');
        /** 
        
         **/
        $request = $client->getMessageFactory()->createRequest('http://howi.in', 'GET');
    
        /** 
         * 
         **/
        $response = $client->getMessageFactory()->createResponse();
    
        // Send the request
        $client->send($request, $response);
    
        if($response->getStatus() === 200) {
            // Dump the requested page content
            echo $response->getContent();
        }

After running the code it's showing blank screen.. Please any one help.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions