Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

Web Call Back

Discussion in '3CX Phone System - General' started by davidbenwell, Sep 19, 2010.

Thread Status:
Not open for further replies.
  1. davidbenwell

    davidbenwell Active Member

    Joined:
    Apr 27, 2010
    Messages:
    704
    Likes Received:
    0
    Hi, im trying to setup a Web Call Back service, here is my code


    Call.php
    I seem to have a problem at

    $handle = fopen("$url", "r");
    $contents = '';
    while (!feof($handle)) {
    }
    fclose($handle);
    ?>


    Error is
    feop(): supplied argument is not a valid stream and looks as if a problem is with

    while (!feof($handle)) {

    any ideas?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. buboy.batumbakal

    Joined:
    Sep 2, 2010
    Messages:
    1
    Likes Received:
    0
    why not use file_get_contents() ?
     
Thread Status:
Not open for further replies.