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

Send a file with; send_file
37661 Send a file with; send_file http://rubyonrailsrailway.com/2008/3/26/send-a-file-with-send_file 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 Ruby on Rails > Tips and Tutorials Apr 3, 2008 Greg Winn send email to Greg Winn

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

Bookmark Send a file with; send_file:


Other links owned by this user
Description: Overlap Image Viewer lets you quickly associate an image with any element on your page, so that when the mouse rolls over it, the desired image is shown on top of it. A nice "dimming" effect is applied to the element while the loaded image is shown. You simply give an element a special CSS class name plus a title attribute pointing to the URL/path of the desired image, and that's it! Rolling over that element now triggers the effect.
Category:

DynAjax is a handy tool to help you create interactive websites and applications. Using it, you can easily gain several benefits of the Ajax technology. While acting in the background, it lets you concentrate on the more important things. DynAjax is a crossbrowser and platform independent solution.
Category:

AVS iRadio Recorder is a convenient in use compact internet radio recorder application with the help of which you can record music from Internet radio stations.
Category:

This article explain about how to use AJAX in ASP.NET and also provide basic AJAX sample code.
Category:

Servera is your solution for monitoring a single or multiple servers directly from your desktop! No longer will you need to depend on 3rd Party service providers or server-side scripts to monitor your servers!

Reboot Servers & Restart Services**
Get instant notification when there's a problem.
Visually Monitor All services.
Category:

phpLD Article is a full featured photo album script.
Another great advantage of phpLD Article is is uses the same engine as PHP Link Directory, so it means there are many templates available and also lots of people that are experienced with using and modifying the script.
We have a very active support forum where people are able to get help, discuss features, request mods, or release mods. If you have questions, you will find answers in the support forum, and we strive to answer all questions.
Category:

Inout Adserver is powerful, feature rich, fully customizable PayPerClick advertising service script from inoutscripts.com. Advertisers can register into adserver and can post their text or banner PayPerClick(PPC) ads. Publishers can generate html code corresponding to their preferred style and can paste it in their web site to show ads relevant to their page content. Adserver administrator can define the commission to share with publishers. Administrator can create public service ads to show them up in partner webpages irrespective of the keywords used to search or the content of the page where the ad code is placed. The entire system is template driven which allows you to easily modify the advertiser, publisher pages to match your web site look
Category:

With every web site we develop, we include MyCMS free of charge. It is as easy to use as your favourite word processor. Don't believe us? Try it out for yourself by logging into the Content Management System via the form to the right.
Category:

A user friendly video player with plenty of features. It’s easy to customize and it comes with the source code so you can learn how it’s been made.
Category:

With SupaBundles Display Your Stats PHP Script you can display your current Users online, Unique Visitors and Total Visits to your website.
Category:

Build Your Very Own Interactive Website With Content - Articles, Jokes, Games, Pictures/Images, Audio Clips, Videos And Much More... With Just A Few Simple Clicks!

Your Site Visitors Will Tell You Which Content They Like Most By Rating It!
Category:

This Guestbook is a System written in ASP.NET 2.0, which uses Serialization to store messages as serialized XML text files. It supports multiple languages and smiley faces, as well as an administrative interface to remove unwanted messages.
Category:

The first version of the HTML Website Comments System ® (WCS) is now officially released. This allows you to plugin visitors comments to each and every page of an otherwise static html web site. For each single page, the flexibility, features, ease of graphic customization of the current enhanced version are available. Manage the comments in your whole website from a single, central script with an easy and intuitive online interface.
Category:

Simply include the useronline.php page on all the pages you want to track. You'll get the users hostname, path, and date/time of when they were on. Use the tracking.php page to view them.
Category:

See this tutorial and learn how to create photo listing using some special flash effects and tricks. You don't have to use action script code to make this tutorial. You can use this tutorail for every photo presentation, listing, animation, photo banner...
Category:

CoolCat Counter is a great way to let users know how much traffic your site gets. A web counter is also a simple way for webmasters to measure site activity. Plus, a hit counter adds a bit of interactivity to your site. We provide the coolest, most feature-rich, reliable hit counters offering features you can't find anywhere else for free
Category:

We will setup this Easy Travel Portal website script free of cost, along with free modification of design and add / remove of features.
Category:

An easy way to nicely display photos on your site, this gallery can be used to show jpg, gif, swf or png files.
The gallery can work as standalone application. You can add/remove photos without using the flash program, the configuration file can be edited with a simple text editor.
Category:

The best way to generate genuine traffic is by referrals, and our unique importer script helps you do just that.

Your visitors simply provide their email address and password and our script fetches a list of contacts into an array/list. Your application can then choose to send emails to these contacts, store them in your database, etc.
Category:

Other links at Ruby on Rails > Tips and Tutorials
One of the coolest things I ran across in RJS was the delay method. This delay method will do just that and delay a number of seconds. So lets say you need to highlight something that was just added to the page after the user submits it. I would like it to add to the page then wait 1 second and then highlight. The following is the code for that.
Category:

The first thing you are going to have to is find a new web host or question your web hosting company about running Ruby scripts as CGI. You can always run things locally on your PC but where the fun in that? The usual file ending is .rb. I say this because I have checked three Rails hosters and found that all three had problems running a plain CGI script. I had to email each one and wait for that magic moment when my "hello world" testing worked. Once that was done the rest was cake.
Category:

Go to RubyForge and download the latest version of the Ruby one-click Installer for Windows. Install it by running the setup program. I recommend installing it to c:
uby
2. Download and install RubyGems.
3. When Ruby and RubyGems have both been set up, run this in a terminal/command prompt window to install Ruby on Rails and all its dependencies:
Category:

This plug-in is a great one! I have found a few bugs but it did the job just as i needed it to. I am using this plug-in to connect to three databases, where i am selecting, updating, inserting, and deleting. By adding this plug-in i was able to set my databases in the database.yml file and name them as i wanted. Next i adding two modules to my environment.rb file. After that i was able to connect to each of the databases with ease.
Category:

SUSIE is a simple application and shows a side of Ruby that other programming languages lack, the ability to be straight forward and small. Ruby does have muscle and lots of it. It is a pure object oriented programming language like Java. But you can still use it as a quick procedural language, embedded in HTML as shown by the SUSIE Photo Gallery.
Category:




Main Category
192
2037
816
286
175
1802
1222
911
1163
7478
70
907
59
2222
174

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: 19493
Categories: 1275
Registered Users: 748
Mailing List Subscribers: 2046
Unique Outgoing Hits: 227536

Pagerank Statistics
PR 10
1 site(s)
PR 9
13 site(s)
PR 8
32 site(s)
PR 7
256 site(s)
PR 6
778 site(s)
PR 5
1901 site(s)

PHP News