More Web Development Tools and Tips Developers Should Know About
The following script libraries are highly recommended. Keep in mind that except for the first two (JSS and ScriptSearch), they aren't our sites, so use the scripts carefully.
- Matt's Script Archive - offering free CGI scripts to the web community since 1995
- Dynamic Drive - a comprehensive DHTML site featuring DHTML scripts, tutorials, and more
.htaccess -- What, Where and WhyIn our article, What is the .htaccess File, and What Can I Do With It? we discussed the fabled .htaccess file and told you what you can do with it. To summarize, htaccess is short for Hypertext Access, and is a configuration file used by Apache-based web servers that controls the directory that it "lives" in--as well as all the subdirectories underneath that directory.
By creating (or editing your current .htaccess file), you can use custom 404 (and other error numbers) pages for your site that feature sitemaps, navigation and more. You can also use directory index pages other than the standard index.html, such as mypage.html, or myscript.pl. And as this article shows, you can also password protect your directory(s) using .htaccess and another text file called .htpasswd.
php.ini Meanie Minie MoeOften, you'll want to allow your site's visitors to be able to upload files to your site. You may find that your web host has set the file upload size limit pretty low. If you need to increase the maximum upload limit, just add the following two lines to your php.ini file (or create one from scratch--it's just a text file), and place it in the main directory of your website (on your webhost):
file_uploads = On upload_max_filesize = 10MYou can change it to whatever size you want (in megabytes)--just remember that if you allow very large files, there may be server timeouts that will prevent the files from being uploaded at all!
You can also increase the PHP memory limit (also in megabytes) that is allocated to applications on your website using php.ini. You do that by adding this simple line:
memory_limit = 50MIf your application requires you to have register_globals on, you can also change that in your php.ini file using the following code:
register_globals = trueNote that setting register_globals to true can leave your website and the applications it uses open and vulnerable to attacks, and is not recommended (but if you have to do it, that is how you can do so).
Is There More?As you can see, there are lots of tips, tricks and services that can save the average web developer time and effort. If you know of a development trick, tool, tip or resource, please let us know below so we can pass it on!
IT Solutions Builder TOP IT RESOURCES TO MOVE YOUR BUSINESS FORWARD
Which topic are you interested in?
What is your company size?
What is your job title?
What is your job function?
Searching our resource database to find your matches...