Archive for April, 2010

Allow PHP to access files but not website visitors

Thursday, April 29th, 2010

Add the following to an .htaccess file, and all .php files under the .htaccess file will not be available via the web:
<FilesMatch "\.php$">
Order deny,allow
Deny from all
</FilesMatch>

The files will be available through PHP though. As PHP is not requesting the files through Apache webserver, rather is it requesting include files via the file system.

Local file sharing made easy on OSX

Friday, April 9th, 2010

DropCopy is a insanely easy way to share files over your local network. Thanks to bonjour and it’s simple configuration, it is the perfect program for quickly sending files to other users on your local network.

There is a iPhone version too, Mobile DropCopy. There is a lite version, and the full version (which is $4.99).

If you’re in a Apple-centric LAN it’s perfect. Unfortunately there are only OSX and iPhone versions.