Problem in opening a file in php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aham
    New Member
    • Nov 2006
    • 1

    #1

    Problem in opening a file in php

    Hi everyone,

    I wrote code for authentication, after a user enters userid and password, it should open a file, which will be taken from a database. Code is taking he file name properly, but it is not able to open it. I am getting error like "failed to open stream: No such file or directory ". Anybody can help me to fix this problem. Let me know where I should place the file in order to open it.

    Thanks,
    aham
  • cassbiz
    New Member
    • Oct 2006
    • 202

    #2
    Check your path.


    Originally posted by aham
    Hi everyone,

    I wrote code for authentication, after a user enters userid and password, it should open a file, which will be taken from a database. Code is taking he file name properly, but it is not able to open it. I am getting error like "failed to open stream: No such file or directory ". Anybody can help me to fix this problem. Let me know where I should place the file in order to open it.

    Thanks,
    aham

    Comment

    Working...