Drupal7 Clean URLs

If you are runing drupal7 site on shared hosting with apache2, you definitely don’t have access to the apache2 config files. And that will cause problem activating Clean URLs, but this can be solved by adding rewrite in...

Continue reading

PHP File Handling – CRUD

Quick tips, how to work with basic filesystem in PHP. Create a File (implicitly creates file): $my_file = 'file.txt'; $handle = fopen($my_file, 'w') or die('Cannot open file: '.$my_file); Open a File (open file for writing...

Continue reading