Real Audio and Real Video, streaming media for your web site

Written by Dominic Arnold

Continued from page 1

Step 3: Encoderepparttar file Inrepparttar 132084 "RealEncoder" screen, clickrepparttar 132085 "Start" button inrepparttar 132086 lower left corner of repparttar 132087 RealEncoder window. It may take a few minutes to encoderepparttar 132088 file, depending onrepparttar 132089 length ofrepparttar 132090 original file. The blue bar inrepparttar 132091 lower right corner ofrepparttar 132092 RealEncoder shows your progress. When encoding is finished, a "Recording Complete" box will pop up. Here you are givenrepparttar 132093 choice to uploadrepparttar 132094 destination of your file to Real Server Janus where, if you're lucky, someone may stumble across your musical offering via their web site. You simply connect torepparttar 132095 internet and fill outrepparttar 132096 form at Janus to inform them where they might find your music. Then you should close RealProducer .

Step 4: Uploadrepparttar 132097 file To uploadrepparttar 132098 file to your Web site, you will need to use an FTP program or Site Manager. You can upload to any directory, just be sure you rememberrepparttar 132099 address ofrepparttar 132100 file. If your program asks, this file should be uploaded in "Binary" mode.

Step 5: Make a text file linking torepparttar 132101 Real (*.rm) file Click your Start Menu and go to "Run." Type "Notepad" and click "OK". In Notepad, type only this line of text: http://www.server#/username/directory/file.rm. # isrepparttar 132102 server that you are on, username is your domain username, directory is where you've uploadedrepparttar 132103 rm file to and file.rm isrepparttar 132104 actual file that you uploaded. For instancerepparttar 132105 file wakefreezone is at: ' racks/wakefreezone.rm'

Here'srepparttar 132106 rub. There should only be one line of text inrepparttar 132107 Notepad window. When you are finished, click "File" and go to "Save As." Inrepparttar 132108 "Save as Type" selector, select "All Files (*.*)". Select a directory you can remember, and inrepparttar 132109 "File name:" box type a name with an ending of .ram. (For example, sound.ram.) Click "Save." This is extremely important. What you've done here is to create a kind of sign post torepparttar 132110 .rm file which then, when your visitor clicks on torepparttar 132111 link, points their copy of RealPlayer torepparttar 132112 .rm file whichrepparttar 132113 application will then play.

Step 6: Uploadrepparttar 132114 text file Use an FTP program or Site Manager to uploadrepparttar 132115 text file to your web site. You can upload to any directory, just be sure you rememberrepparttar 132116 address ofrepparttar 132117 file. If your program asks, this file should be uploaded in "Text" or "ASCII" mode, however most FTP programmes worth their salt will know what type of file you're uploading and changerepparttar 132118 mode automatically.

Step 7: Link torepparttar 132119 text file on your web site You will need to edit one of your HTML files on your Web site and place a link torepparttar 132120 *.ram file. This link should be to your web site, not torepparttar 132121 file on your hard drive. Then you will need to re-uploadrepparttar 132122 HTML file.

Step 8: Test your RealAudio file Go to your web site and click onrepparttar 132123 link torepparttar 132124 RealFile (the *.ram file). Your browser should quickly download a file, and RealPlayer should open and playrepparttar 132125 RealAudio file. If anything does not work correctly checkrepparttar 132126 addresses you used and make sure they are accurate. If your file refuses to play but no other error messages pop up, you should check that you uploadedrepparttar 132127 files withrepparttar 132128 proper file type.

RealVideo To make RealVideo, userepparttar 132129 same method but be prepared to wait whilerepparttar 132130 file encodes as video is far more memory hungry than audio.

Have fun!

Dominic Arnold

Why Do I Need A Database?

Written by Dan Grossman

Continued from page 1

The content management system also would allow you to add, edit or remove content from your site without editing many webpages. You'd simply have separate pages setup which allow you to editrepparttar information stored inrepparttar 132082 database.

Why Do I Want To Do This? -------------------------

There are many reasons to use a database-driven content management system as opposed to many static webpages. Several are:

1. Easier To Change Site Design

With a database-driven site, there is really only one webpage. The content ofrepparttar 132083 site is inserted into this page dynamically when it is requested based on information passed torepparttar 132084 page (such asrepparttar 132085 article number).

This means changingrepparttar 132086 look ofrepparttar 132087 entire site can be as easy as changingrepparttar 132088 HTML in that one page. The page would contain both HTML and programming code for whatever language you chose.

2. Easier To Update Your Site

Using a database-driven content system, you no longer have to create a separate webpage for each piece of content you want on your site. By setting up a form which submits information to add to your database, you can updaterepparttar 132089 site just by copying and pasting a piece of content intorepparttar 132090 form, and adding it torepparttar 132091 database. If you writerepparttar 132092 site to take articles based on date, for example,repparttar 132093 new content could appear immediately on your site.

How Do I Create a Content Management System? --------------------------------------------

Here are several places you can learn about building a database- driven website, specifically with PHP and mySQL:


WebMonkey's PHP Programming section has many well-written articles and tutorials dealing with both PHP programming and interacting with mySQL. They even have a "PHP/mySQL Tutorial."


WebMonkey's Backend Databases section includes information about choosing a database system, an introduction to databases, several tutorials and more.


The Web Developer's Virtual Library has several good tutorials and information aboutrepparttar 132094 PHP language and how to use it in conjunction with mySQL databases.

There are many uses of databases in websites, and a content management system is just one of them. Hopefully this article has informed you on exactly what a database is and has provided you with several links to good starting points for those who are interested in using a database in their site.

Dan Grossman runs where you can find over 250 hand-picked resources, articles, and tools! Dan also publishes the free weekly "WebDevPortal" newsletter for website owners! Subscribe today and get articles like this every week:

    <Back to Page 1 © 2005
Terms of Use