1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

PHP fopen question, not openbasedir

Discussion in 'Plesk for Linux - 8.x and Older' started by cyberdude, Sep 22, 2006.

  1. cyberdude

    cyberdude Guest

    I am using this code to open a file from a ftp site using php i was using this code on Plesk 7.5 and it was working perfectly but now it just opens half of the file and does not generate any error. Both the sites are in the same server

    here is the code

    $filename $domain_folder."file2.txt";
    $fp fopen ($filename"r") or die("Did not work");

    Please help what am i doing wrong here