• Resolved guylancaster

    (@guylancaster)


    I want to write data to a file on a users c: drive or on the wordpress webspace

    $hdl=fopen(“afile”,”w”);
    fwrite($hdl,$data);
    fclose($hdl);

    How do i get error messages out of fopen?

    Failing that, i would like to email users with the data as an attachment (examples online assume the data exists as a file)

  • The topic ‘fopen problem – not working’ is closed to new replies.