I this error in php that freeks me out when i call fopen

Discussion in 'PHP' started by chikabc, Jul 19, 2007.

  1. #1
    When i run this snippet, i get this error and a blank page; i need a hell of a help please


    ini setting: allow_url_fopen On


    error: PHP has encountered an Access Violation at 0197B8D6

    Snippet:

    if(!is_file($_REQUEST['file'])){
    $fle="http://p24.corrosive.co.uk:9090/source/readthis.php";
    $fp=fopen($fle,'r') or die("cannot open file");
    while(!feof($fp)){


    $f=$f.fgets($fp,1024);
    }

    }
     
    chikabc, Jul 19, 2007 IP
  2. chikabc

    chikabc Peon

    Messages:
    19
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Please pardon my english

    The topic should read: I got this error in php5 that freeks me out when i call fopen
     
    chikabc, Jul 19, 2007 IP