when i try create new file using fopen function in php in "W" mode. it dose not create file.
Create test.php file in /var/www/html/ directory on linux machine.
past this simple code:
<?php
$fp = fopen("newfile.file", "w") or die("Couldn't create new file");
?>
through firefox browser run above file:
ip address/test.php
example : 192.168.0.115/test.php
it show Couldn't create new file means not create file.
please any one tell me step how to run this file using browser on linux.
thanks in advance