Hi,
I have just writing a file by using fwrite method. But when i upload my code and check it online, it does not allow my code to write my file.
Please guide that how can i pass PERMISSION (777) in my PHP code while writing the file.
Thank you
How to pass (chmod 777) permission while writing a file
Moderator: General Moderators
- dibyendrah
- Forum Contributor
- Posts: 491
- Joined: Wed Oct 19, 2005 5:14 am
- Location: Nepal
- Contact:
Code: Select all
<?php
chmod("file_name", 0777);
?>