gaya Posted January 23, 2013 Share Posted January 23, 2013 (edited) Please any1 help me.how to use fread,fwrite,fopen in same code.Please any1 help me for this with some sample code. Edited January 23, 2013 by gaya Link to comment Share on other sites More sharing options...
jeffman Posted January 23, 2013 Share Posted January 23, 2013 Those functions are very old. Use file_get_contents() and file_put_contents() instead. If you would like the convenience of having your data read directly into an array, use file() . You can find plenty of examples for each function on php.net Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now