March 20th, 2006

PHP: Build a Dynamic Picture Viewer

Display all pictures in a directory without having to keep track of or input file names. This PHP script retrieves a list of all images inside the directory and passes them in an array to be displayed. The menu to choose the image to display is also automatically generated. In IE and Firefox the images will fade in. (more…)

March 20th, 2006

How to Upload Files With ASP

This code will enable you to create the necessary object and functions in your ASP code to upload files from a form. You don't need to purchase, install, or configure any 3rd party components, you can just copy this code straight into your application to enable client file uploading! (more…)

March 20th, 2006

PHP: Create a Folder with Proper Permissions Via FTP

If you're running a PHP application on a shared host, it's common to have trouble creating folders and uploading files to them. You may get the following error, but this code will get you past it:

"Warning: chown(): Operation not permitted in /home/username/public_html/test.php on line 45"

"Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is ### is not allowed to access /home/username/public_html/images/testdir owned by uid 33 in /home/username/public_html/test.php on line 47" (more…)

March 20th, 2006

Create Tabs with CSS and JavaScript

With this code you can make any of the content of your page tabbed. You can take long sections of content, and put it all into one concise tabbed interface that users can click through instead of scrolling. You can use this code as-is, all you need to do is modify the "Page" divs, and/or add more of your own. (more…)

March 20th, 2006

How to Decompile .Net Code from a .DLL

Any application that runs in .Net is compiled to MSIL and stored as .dll files. Sometimes it would be handy to be able to de-compile the code, and examine the source functionality. This is especially true when you've lost the source code to an application you've created! (more…)

« Previous PageNext Page »