-
A blog about coding, includes lots of PHP code snippets to help you learn
new tricks. -
A large collection of tutorials for every level of PHP developer.
-
Nearly two dozen video tutorials taking you from the most basic aspects of
PHP up through advanced techniques. -
An extensive help site for PHP users of all skill levels, has over 400 code
snippets to help you along with different project aspects. -
Numerous resources, but the star is their archive of over 3600 PHP scripts
for just about every function you can dream of. -
PHP News, Views, and Community
Month: September 2007
links for 2007-09-27
-
Explanations on why not to use innerHTML (and when to maybe use it) and some examples to get the same results with pure DOM.
MySecureShell – chrooted SFTP server
Yesterday the wonderful Howtoforge had an article that finally freed me from my beloved/hated scponly. MySecureShell offers all the functionality of a proper SFTP server, easily configurable and very well integrated.
To get it up and running on Debian, just download the latest *.deb version from Sourceforge.
Then install it with the following command:
dpkg -i mysecureshell_0.95_i386.deb
Now for every SFTP user you want on your system just do the following (substitute ‘test’ with your desired username).
Add a normal user to your system:
adduser test
Open the file /etc/passwd and change the user’s shell from /bin/bash to /bin/MySecureShell. The line then should look something like this:
test:1111:1111::/home/test:/bin/MySecureShell
Alas, you have a chrooted SFTP only user, without the clutter of numerous additional directories for the chroot. Simple and elegant 🙂
The last step is to have a look through the config file in /etc/ssh/sftp_config, it’s pretty well documented!
links for 2007-09-13
-
This list is true in every aspect!
I experienced each of those points numerous times in my life, since switching from Windows/Linux to Mac OS X as my primary operating system on my private computer.
links for 2007-09-07
-
How to extend the Smarty PHP Templating engine to support multiple languages.