Difference between revisions of "PHP"
From Blue-IT.org Wiki
(Created page with "== Test, if a file can be written to directory == <?php $handle = fopen("/tmp/test.txt", "x"); if ($handle) echo "Success!"; else print_r(error_get_last()); ?>") |
(No difference)
|
Revision as of 10:01, 17 March 2013
Test, if a file can be written to directory
<?php $handle = fopen("/tmp/test.txt", "x"); if ($handle) echo "Success!"; else print_r(error_get_last()); ?>