July 11th, 2007
If your web server to supports .htaccess files and you can specify “Options” from within your .htaccess file, then the following is a quick 1 line solution to your file listing needs.
So you just uploaded a tun of pictures to a web directory and you want a list of all the images. Since the only types of files in the directory are images, the security risk of displaying the list diminishes. In actuality, the list of images can be quite useful especially when trying to find a specific one.
The answer, create a 1 line .htaccess file with the following: Options Indexes
If you don’t have control over your apache configuration files and this option is not available to you, don’t fret. Â Chris Snyder created an excellent php script that allows you to list the contents of a web directory.
Link: http://chxo.com/scripts/image-list.php
This script is very useful, I’ve customized it for my subversion repository in order to display a list of repositories in the root of the subversion web server.
Filed under: Apache,PHP,Subversion
— Angelo @ 3:04 pm — no comments
June 3rd, 2007
One Topic:Subversion, a open-source, cross platform revision control system. Tonight I talk about how to install, configure and understand how to use a Subversion repository.
Don’t forget to E-mail comments and suggestions to compiledweekly AT gmail.com.
File Download (14:46 min / 10.2 MB)
Filed under: LAMP,PHP,Software,wxWidgets
— Angelo @ 8:05 pm — no comments
July 13th, 2006
Two topics: TinyMCE, a cross browser HTML rich text editor and solutions for SPAM. TinyMCE is an excellent html styled text editor that has an endless number of settings and is extendable. In the second topic I address SPAM and talk about two server solutions; SpamAssassin and MIMESweeper. Software recommendation of the week: nLite, web site of the week: nerdvittles.com test
- nLite :: Update Windows installation CD’s quick and easily.
- TinyMCE :: TinyMCE, a cross browser html rich text editor.
- Nerd Vittles :: Awesome site, more than just informaton on TrixBox here!
- SpamAssassin :: SpamAssassin server based anti-spam tool.
- MIMESweeper :: MIMESweeper, product of Clearswift, a full blown supported SMTP service with SPAM controls.
- Thunderbird :: E-mail client with spam filtering built in
Filed under: LAMP,PHP,Reviews,Software
— Angelo @ 10:13 pm — no comments
June 8th, 2006
Two topics, ModRewrite for Apache and TrixBox PBX. ModRewrite lets you do some really cool things with Apache you thought you couldn’t do. TrixBox is a Voice Over IP PBX Phone system built on CentOS Linux. Software recommendation, UltraVNC and Web Script recommendation, IMP Webmail.
Filed under: LAMP,PHP,Reviews,Software
— Angelo @ 1:06 am — no comments
April 20th, 2006
This week we look at phpMailer, a PHP E-mailing class and wxWidgets basics. Show also includes 3 useful Firefox extensions for web development, phpMyAdmin recommendations.
Filed under: LAMP,PHP,Software,wxWidgets
— Angelo @ 8:12 pm — no comments
April 6th, 2006
This week, CompiledWeekly explains ghow to make quick and reliable SQL queries with a set of MySQL Assisting functions in PHP. Plus software application of the week 7-Zip, web site of the week foldershare.com and PodProducer podcast software reviewed.
Filed under: PHP,Reviews,Software
— Angelo @ 12:16 am — no comments
March 30th, 2006
This week, CompiledWeekly gets you started with the Nullsoft Install System (NSIS) and how to handle PHP magic quotes. Plus software application of the week KeePass and web site of the week is the Javascript sectiono of Codelifter.com
Filed under: News,NSIS,PHP,Software
— Angelo @ 1:47 am — no comments
March 22nd, 2006
This week, CompiledWeekly gets you started with wxWidgets and Visual C++ 2005 Express Edition and explains what is E-mail injection and how to prevent it. Plus software application of the week WinMerge and web site of the week www.codeproject.com.
Filed under: News,PHP,Software,wxWidgets
— Angelo @ 10:25 pm — no comments
March 22nd, 2006
E-mail injection is caused when form fields entered by hackers who add unexpected lines of text to the from and/or subject lines of your form.
For instance, many web sites add a contact us page to their web site to allow a web visitor an opportunity to send comments and suggestions. Usually these forms ask the user for a subject and an E-mail address. The risk of injection occurs when these fields are placed into the headers of the E-mail sent from the script to the E-mail address assigned to the contact submission.
The injection works when the hacker adds extra lines to the field before sending it to your script. IF your script does not check the E-mail address entered then the injection will find its way to the PHP mail() function. Then the rest is history.
The PHP mail() function takes multi lines in the to field and may treat them as additional lines for the headers of the E-mail message.
Click here http://securephp.damonkohler.com/index.php/Email_Injectionfor some better detailed examples of E-mail injections.
You can prevent E-mail injections in a number of ways. The easiest is to only place data that is submitted by the user in the message body of the E-mail. If you want your script to automatically generate a response message to the user, then you will need to verify the E-mail address entered is valid and does not contain additional lines of information.
Click here http://www.bl0g.co.uk/?d=060214 for an alternative method for protecting your script from E-mail injections.
Filed under: PHP
— Angelo @ 9:48 pm — no comments
March 15th, 2006
Welcome to the first podcast of Compiled Weekly. Today’s podcast I introduce myself, promote the PodcasterNews.com podcast network, review the open source Ravencore web control panel, recommend the SciTE text editor, and cover Cross Site Scripting XSS and how to prevent it.
Filed under: LAMP,PHP,Reviews,Software
— Angelo @ 9:59 pm — no comments