NEW LISTINGS  HOT LISTINGS  TOP RATED  EDITOR PICK  ADD A LISTING  UPDATE A LISTING  GET RATED  UPGRADE A LISTING
  HOME     MY ACCOUNT     POWER SEARCH     REGISTER     MEMBER LIST     SUGGEST CATEGORY  

Average Visitor Rating: 0.00 (out of 5)
Number of ratings: 0 Votes

Visitor Rating

Listing files in a directory with Rails
37318 Listing files in a directory with Rails http://www.winn.ws/archives/118 In a recent application I am building I needed to pull file names and directory names from a local directory. I searched all over the net for this and found nothing. After reviewing a few of rails built in functions I came across Dir.glob(). If you feed this method a path to a directory it will then come back with an array of the names and directories listed. Ruby on Rails > Tips and Tutorials Mar 3, 2008 Greg Winn send email to Greg Winn

Write a Review   Add to My Favorite   Refer it to Friend   Report Broken Link  



Other links owned by this user
yuploader is a AJAX-PHP uploader script (support progress bar, and uploading handlers), without patching PHP.
Requirements
In order to use yuploader, users need a browser with Flash Plug-in version 8 or newer. Developer only need a server with pure PHP support
Category:

Shopping Cart Store Builder - QuickCart.com™ is a hosted shopping cart and e-commerce store builder that will instantly add shopping carts to any web site.
Use the shopping cart store builder software to build your shopping cart quickly.
Category:

This perl script takes backup from multiple servers through SCP/SSH into your backup server. On the servers you want to backup, you only need to create a backup user. You do not need to install any certificates and the normal key exchange process. The script uses Expect to pass on the password and automatically log into the server you want to backup. Very simple.
Category:

flashslideshow generates slideshow presentations for your Flash CS3 projects. Compatible for Actionscript 3.0 users. Image is externally loaded through an external xml file. Please refer to userguide section for further use information.
Category:

Membership sites are very popular. Everyone wants to be apart of something. Some people pay thousands of dollars a year just to be apart of some exclusive membership. If you are looking for an easy to install and easy to use program to handle all of your memberships site requirements then look no further. Membership Pro is the program for you! Whether youre starting a new online business or have been in business for years, you can easily integrate this membership program and be making an unlimited income from membership fees.
Category:

The Scroll Panel allows you to display a variety of media as a slide show, navigation, or interactive element in your project.
Category:

With Diino you can easily store, share, manage, access, send and backup your documents, music, e-mails, photos and files with the highest security available online. Your data is stored on our secure servers.

Diino provides easy access to all your important files, from any PC - and now you are also able to access your files from your personal DiinoWeb page using your cell phone’s web or wap browser. Anywhere, anytime – and on any device!

Read more about all Diino’s features in the menu to the left or get a 2GB Diino account for free and discover yourself what Diino can do for you.
Category:

This you can use for sending email on your email. This is version: 1.0. It very simple. When you download it you will find demo page, where you can see how you need to configure.
Category:

Deliver remote support to any PC through firewalls in seconds.

Instant Housecall is the award-winning remote support tool that lets you access and control your customer's desktop remotely from anywhere.
Category:

If you are just starting to learn PHP you first need to find a free/cheap host (I personally prefer Fly2Blue as they are cheap, easy to use and offer great services and domain registration), you are then going to need to check that your host provides PHP of some kind (over all PHP tutorials, PHP5 is preferred). Or alternatively you can install your own server software and install your own version of PHP

Right, now we have a website developing environment, we need to learn to use this great language PHP. Like all great programming languages, we need to learn to print and the most common way of learning is to print "Hello, World!" and this tutorial is no exception
Category:

As a developer, you might face few requirements where you want to upload large documents, PDF's and images from your application. Then how do you manage and store such large data? Usually, traditional approach was to store those large files on web server's file system. But you also have database approach which allows you to store those large documents like PDF's, .zip files, images etc., as binary data directly in the database itself. Let's elaborate on Database approach a bit further. How do we usually store large data objects in Databases like SQL Server 2000? Ok, SQL server 2000 supports exclusive image data type to hold
Category:

This calendar maker allows you to create customized photo calendars using your own photographs or sample built in photographs with the EasyCalendarMaker!
Category:

Linkbot started out in #uacs on freenode, and migrated with us to the UACS IRC network. The idea was simple: people post a lot of interesting links on IRC and sometimes you want to look at them again later (or look at them when you're not at work ... you know). Linkbot collects all the links posted in the channel in a simple text file, and there is a CGI script to display them online.
Category:

Add ActiveReports reporting controls to your apps. Add sophisticated reporting to your web apps with ActiveReports from Data Dynamics. Simply drag and drop the reporting components from the tool box onto your web pages. Click “Configure…” to hook up the control and you’re good to go! The ActiveReports tool box control was generously contributed by Iron Speed MVP Miles Gibson. (Enterprise Edition feature.)
Category:

Learn how to create a simple mail sender class in PHP. Sending emails with PHP is a lot easier than you would think, however you need to care about some settings to avoid moving your emails into a spam folder.
Category:

Compress and send.com enables you to compress large files into a smaller .zip file online without zip file compression software and send it to anyone in the world with an e-mail address! Solving the problem of the file being too big to receive it properly.
Category:

CodeLobster PHP Edition is our new product will include almost everything necessary for developing on PHP. It includes all standard means of working with code, and some advanced features for PHP development.
Category:

1 Stop Solution for Affordable Website Design, Ecommerce Shopping Cart, Custom Web Development and Internet Marketing Services.
Category:

With our freelance script you can start a freelancer site which is an online service that can be ran completely hands free. Much like a classified ad mixed with an auction, a buyer seeking services of a skilled professional places an ad for a project and interested freelance service providers bid on the project.
Category:

Run your own flash game arcade site. Features Include - Easy to edit html template files, Simple wizard installation, Over 75 games, Free game updates, Easy to edit language files, Powerful Admin panel for controlling your site and 1 year of upgrades.
Category:

Other links at Ruby on Rails > Tips and Tutorials
Ruby on Rails is a recent entry into the world of Web application development that is rapidly gaining mindshare, even while still in beta versions. Rails succeeds by automating the creation of the most common types of Web applications while not straightjacketing you if you want to add custom or atypical requirements. Moreover, compared to many Free Software libraries that perform individual aspects of a Web application, Rails contains a nicely integrated set of tools for all aspects.
Category:

Ruby DBI is not a true connection layer. Many install it thinking that it will help them connect to their MySQL database and then they find that nothing works. Ruby DBI is an abstration layer or so called "wrapper" class that filters multiple differences in database code into a single interface. So if a Oracle database, MySQL and PostGreSQL all have different syntax for selecting a database row it will not matter in your code. In your code the selection of a row will be the same for all three.
Category:

I get a lot of emails about packing and distributing Rails applications with Tar2RubyScript and RubyScript2Exe. It obviously wasn't easy to come up with the steps that have to be taken to transform a Rails application into a standalone application. Since I never built a Rails application myself, I wasn't even sure if it was possible at all. That's why I decided to write this tutorial.
Category:

Ruby on Rails is an open source Web framework causing a lot of excitement among Web developers. By supporting agile development techniques and a philosophy of "convention over configuration," it has enabled many developers to radically reduce the time and pain involved in creating Web applications.
Category:

After uploading a file to your server/database you may want users to download it, and send_file works great for just that! Lets say you are allowing users to upload "gif" files to your /RAILS_ROOT/images/*username*/*thegif.gif*. Now you want to allow them to download them or other users to download the pictures. This example will provide code and database structure for you, but i will not be providing any documentation on how to upload the file just yet
Category:




Main Category
163
2028
756
274
169
1800
1072
892
1127
7080
70
873
58
2145
170

Join Mailing List
Joining mailing list will entitle you to receive occasional emails informing you of news and updates to the site and any special offers that may be of interest to you.



Top 10
Directory Statistics

Links: 18657
Categories: 1275
Registered Users: 532
Mailing List Subscribers: 2031
Unique Outgoing Hits: 192256

Pagerank Statistics
PR 10
2 site(s)
PR 9
10 site(s)
PR 8
26 site(s)
PR 7
242 site(s)
PR 6
767 site(s)
PR 5
1859 site(s)

PHP News