HTML Guestbook in ASP.Net

02/12/2010

File Based Guestbook

Any site developed in plain HTML can be integratated with this code.However it is impossible to create a Guest Book with just plain HTML without any server side technologies. As finding an Asp.Net enabled cheaper host is fairly easy. It should be noted that, the server side execution is necessary? for saving a GuestBook. Though the databases are better option. To make the article simpler I have used a flat file.

Please see here the full source code (HTML guest book) about

The guest book is designed to be saved into the file system at the web server. Since the flat file is just served s a text storage, we may delimit the data in a standard way. so that later on the data can be presented as required. There are two segments we need to consider for delimiters, one is for the row delimiter another is a column delimiter. so we will use ~ to differentiate each row. and with in the row we can use | to delimit the columns

The saved GuestBook.Txt can be parsed with another one Web Page for loading data in to the screen by using a Split () function
'~' To delimit a guest entry
'|' To delimit attributes as name email and comments

First split using ‘~’, will get the entire guest book entry for one visitor. Take that entry and parse again using split with |, First element is Name, Second element is e-mail, third element is comments. It can be displayed easily with some HTML formatting

Posted in: asp.net| Tags: entry file html book server row guestbook guest element delimit

How to make customized skinning web flash video player in easy way

02/08/2010

Some web using the following methods in the mouse, shows a tutorial on how to customize a flash video player, click on the Moyea Web Player.

Step 1: Open Moyea Web Player on your PC

Step 2: Input flash videos you want to play on webpage into Moyea Web Player (If your videos are not flash videos, please?convert them to).

input video to moyea web player

Step 3: Choose a player skin(here, I use the default one), and remove the embed code area.

choose player skin in moyea web player

remove embed and url area

Check "Auto choose next" to make the player can player next video automatically

Step 4: Click “Publish” button to generate a web flash video player and other related files (Note: if you want to get a separate playlist file, please check “Out File”)

Step 5: Upload all the published files except the index.html file, to the same folder of your web server

Step 6: Embed the generated player onto your webpage with the embed code below (you can get it on the generated index.html file):

<script type="text/javascript" src="swfobject.js"></script>
<div id="flashcontent">Player will show here</div>
<script type="text/javascript">
var so = new SWFObject('mwplayer.swf','player','500','450','9');
so.addParam('wmode','opaque');
so.addParam('quality','high');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.write("flashcontent");
</script>

Note: 1.?No <object> </object> tag outside the embed code?
Two. mwplayer.swf is real Furasshubideopureya. If a different directory, there is a relative path to that point (eg,/video/mwplayer.swf) or an absolute path (e.g.?http://www.yourdomain.com/video/mwplayer.swf ).
3. '500','450' is the width and the height of the player, you could change them to change the player size.

Step 7: The flash video player will appear on your website.

Posted in: javascript tutorial| Tags: Script Code web file video player swf addparam mwplayer moyea

How to move our Wordpress to Another Host via Database

02/08/2010

Today i want to share, how to migrate our wordpress blog into another host. I do not know why you will you do this, maybe you choose bad host services (oftenly down) or you have short off your space or bandwith. No more way to fix it except move your web into another host. What ever is your problem is, i will show you how to move your wordpress blog into new host. In this case, i want to transfer my Precast Concrete Technology web into new host.

There are two major way you can get through this,
FIRST you can export via xml files,
and the SECOND were via Database.

In this tutorial, i will concern with Database way, because it much easier for me.
To migrate our wordpress blog with database implant all you need is Backup your database first. Then deploy it into new location. But do not forget to backup the files also!

Step-by-Step to move our wordpress via database :

Login into your OLD directory of blogs, and download your wp-config.php file

Open those wp-config.php file, and find your database name. It will displayed below this sentences /** MySQL database username */. It will looks like define(’DB_USER’, ‘***_wrdp**’); . The “**” sign will be differ every blogs.

Next step is Login into your OLD CPANEL site, and choose PhpMyAdmin to backup your database. Select the proper database name (info from wp-config.php), then click export button on the top sidebar. Click the “save as file” option, then fill database name. Next, click GO button. And save it into your hardisk.

Files in the directory in the next step is to come back up just insidewp-content folder, then backup Plugins, theme, and Upload Folder. You can compress this folder first, than download it (to make the file smaller and easy to download). Use this backup process via File Manager Inside your Cpanel.

After all of “backing up stuffs” done, you should change your Domain DNS (Name Server) with new DNS of your new host. maybe this will make you wait until it resolved. It times depend on your host, it could be 3 hours until 24 hours.

Domain After you have turned to new host correctly, you have to do is log into your CPanel and create new Wordpress (site). You can use Fantastico, or you can install the manual. It's all up to you, just remember thatYOU MUST remember what Database Name for the new Wordpress installation. In this parts i will not teach you how to Install Wordpress, because when you read this, you must ever install wordpress, even it only once. LOL

After you successfully install new wordpress, simply openMyPhpAdmin and select database name for the new wordpress that you’ve been installed before. Make sure that you have select the correct database name!. Then click “Check All” option and select “Drop” Menu. Then click Go button. You will have last confirmation about dropping this table, just click YES. Then all the result is all table were deleted successfully.

Next step is to import your old database contained in this database. To take this step, simply click on the Import button in the upper pane, and select the secure database by clicking

Last Step to do, were uploading your file backup (plugins, themes, and upload folder). You can using FTP software or using File Manager through CPanel. If you follow my instruction before, you should upload your ZIP backup into “wp-content” folder, than extract it.

All step has DONE. Your site will works fine, but first time you login into your wordpress, maybe there will be one message shown from wordpress to confirm Database Upgrade. Don’t worry, it’s natural!. Just click the Upgrade button. And all your efforts will be finish.

Some time should you need to re-check your permalinks, may change (it should not change), but please check it to be safe.
You can find more WordPress theme tutorial on my website.

Regards,
Irwanbee

--------

Wordpress Theme Tutorial

Posted in: xml tutorial| Tags: Blog Database way web step name file host php click

create xml slideshow with free template

12/13/2009

This tutorial is primarily about howmake flash xml slideshow with simple 4 steps. First you should know something about XML knowledge. If you don't know much about XML please try another free flash slideshow software. It need no xml skills and can make flash slideshow for website instantly and easily.

So the tutorial will include two parts:

  1. How to make flash xml slideshow with free xml template
  2. Use flash slideshow software to make flash slideshow

Now follow my steps and I am sure you will be met thisflash xml slideshow tutorial soon.
Step 1: Download free flash xml slideshow source file Download free xml source file and unzip it. The package should include images folder, xml.fla file, xml-gallery-slideshow.swf file, and images.xml file.
Open xml-flash-slideshow.swf file to see the original samples as below thumbnail:

flash xml

Step 2: Add your digital photos to image folder Choose your favorite photos to add into image folder. There is no quantity limitation for digital photos. However, in order to get a good presentation, the size of your digital photo should not exceed 300px*200px.
Step 3: Edit XML file for adding digital photos Open images.xml file with a text editor, such as Dreamweaver MX. You will notice that all images are described with the following XML tags located between the <pic> and </pic> tags. You can place as many images as you want by copy and paste the content between the <pic> and </pic> tags. You just need to revise the red content according to your own requirements.

<pic> <image>images/1.jpg </image> <caption>First </caption> </pic>

Step4: Upload your xml flash slideshow on website Copy and paste the following HTML code to your website, such as MySpace, Blogger. So long as your website supports HTML code, you can put it anywhere as you like. Don't forget to revise the red URL blow to your own URL. Learn more about how to upload slideshow on website

.

<object type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" height="264" width="550" data="http://www.flash-slide-show.com/images/tutorials/flash_banner/banner550.swf" <param name="allowScriptAccess" value="never" /> <param name="allowNetworking" value="internal" /> <param name="movie" value="http://www.flash-slide-show.com/images/tutorials/flash_banner/banner550.swf" /> <param name="quality" value="high" /> </object>

Step 5: Create a new category for flash xml slideshow You may found that there are some different categories in the sample xml gallery. If you also want to create new category to grouping your photos, just copy and paste the content between <category> and </category> tags and revise its name. Then the flash xml gallery will be made. You can open the gallery.html or gallery.swf file to enjoy it.
Another easy way to create Flash Slideshow is the use of Wondershare Flash Gallery Factory, is an easy to useflash slideshow software which provides 60+ free flash slideshow templates and 70+ transition and motion effects for you and need not edit XML code at all. All the processes are automatically and instantly, and you just need to move your fingers to click some buttons in the software.

Posted in: xml tutorial| Tags: Software XML step source file template tutorial download folder slideshow

Crop Image File Size, Width & Height Using Php Script

12/13/2009

Crop Images Contextually

Crop images contextually for faster downloads and higher impact. By cropping maximally and resizing you can convey meaning without slowing down your web pages.

However, we see a lot of sites, or the use of HTML to adjust the width and height properties of the larger picture, or at least crop, adjust the image lose important information. A better way to create a web image optimization crops, they are contextual.

Contextually Cropping


What is contextual cut? Sometimes digital images shot for use on the Web has no borders of useless space around the item (s) of interest. Instead of growing only the film or chip borders, culture context down to the minimum dimensions that still carries the meaning and context of your image.

Trimmed version of how the author's more, sunscreen () will be recognized and the character behind the larger more readable. Most importantly, the image is subject occupies much of the frame has a greater effect. This will reduce the image dimensions and trim, you may be saving the file size.

Resize to a Smaller Thumbnail

Once your image has been more than cut to the size and sharpen it to create a smaller thumbnail. To give more detail to the reader, you can deliver a larger version (cropped or uncropped of the image) that thumbnail linked.

What these two crop or resize the maximum two-step process Jakob Nielsen calls

Extreme Closeup for a Sneak Preview

Some high fashion sites actually use only the important part of an image as a thumbnail. For example, just the shoulder or neckline of a style - click and you get the full shots with details. This "image tease" technique can add an artistic feel to a site. Let's get up close and personal with our intrepid traveler.

Extreme Cropping through Rearrangement

In extreme cases, you can rearrange and reshoot the target object, or move it closer to your favorite image editing program together. This is done to the image with as small as possible, but also to convey the information you want displayed. 4.75 font size you may need to withstand more extreme reduction in the image.

JPEG Cropping Caution

Be careful when re-saving JPEG images. Reoptimizing an existing JPEG compression artifacts can be connected. It is possible to modify JPEG files without loss, but. Lossless transformations (such as 90-degree rotations and flips) the dimensions of the JPEG is a multiple of block size (16x16, 16x8, or 8x8 pixels for color JPEGs). Lossless harvests are possible by cutting to the borders with specialized software block, such as the JPEG Wizard.

Posted in: ajax tutorial| Tags: image file size width crop

Create Chm HTML Help Files Easily

12/13/2009


Easily Create .CHM Files

Easily Create .CHM Files

Introduction HTML Help CHM format
Nowadays, HTML Help CHM is the standard help format used in most modern Windows applications. An HTML Help system is completely stand-alone and can be distributed as a single file (for example, "My_Help_File.CHM"). Thus, a CHM file is practically a kind of the portable formats for technical documentation, which can be opened on all Windows PCs since Windows 98. Thus, any Windows user will be able to open such a file under Windows 98, ME, 2000, XP, and the latest Vista operating system as well.
CHM HTML Help file contains all the functionality to provide end users with easy Nabigetochutoriaru. Everyone of us, it probably is a table of contents, alphabetical index and search capabilities, a navigation pane on the left, position from the text of the topic that you are familiar with HTML Help Viewer Help.

How do I create CHM HTML Help Files?

In fact, there are tools on the market, from the original application to complex, expensive system for preparation of technical documentation, support for HTML Help output format. However, the software common problem is that they are not intuitive and slow interface, complexity, and about 999 or more for each permit a high price! In addition, you must have spent in learning tools, even before the establishment of software products for your simple CHM files a lot of time. Now you might ask, if there is another solution, so that the clearing-house mechanism to help to create an easy process. Fortunately, the answer is "yes."
HelpSmith has an alternative vision of creating CHM Help. If you download and try HelpSmith available on the vendor's web site, you will be surprised by its straightforward and easy-to-use user interface. There's actually NO learning curve like in many other help authoring products making you spend hours to figure out how to add new help topic. Once you have installed HelpSmith on your computer, you can type "Hello, World", click a button and here is it - your first help file in the HTML Help format. Then you can easily add new help topics, create hyperlinks, help windows, insert graphical files and everything the HTML Help system allows you to do; the process of working is actually as simple as working with Microsoft Office applications.

Creating CHM Files with HelpSmith
HelpSmith you can easily create CHM HTML Help files. Based on the WYSIWYG (

Microsoft HHC.EXE compiler
CHM file format that is not open. So how do third-party products, you can create it? As with other help authoring tools, HelpSmith from the source project to create a CHM file using a compiler HHC.EXE help. Free HHC.EXE HTML Help Compiler can be downloaded from the website of the product, Microsoft HTML Help Workshop is available in the package. Once the HTML Help Workshop, you HelpSmith HHC.EXE and to link, please follow these simple steps: Installed


  • Choose "OptionsTools" from the menu.

  • Select "GeneralCompilers" on the left sidebar.

  • Specify the full path to the "HHC.EXE" file on your computer (for example, "c:Program FilesHTML Help WorkshopHHC.exe").

  • Click the OK button to save the changed parameters.



HHC.EXE compiler installation and working process is completely transparent to you, make it a breeze to create an information clearing-house mechanism of the HTML help documentation.

Posted in: html tutorial| Tags: Windows Format Help system documentation files file html easily chm

Core Benefits of HTML Conversion Outsourcing Services

12/13/2009

HTML is a simple programming language used for describing the structure, semantics, and the appearance of a document. HTML code is mainly used to make Web pages in browsers like Internet Explorer and Mozilla. The popularity of HTML is on the World Wide Web, to access the millions of web pages on servers and has transferred when assigned to a surfer one page.

HTML (Hyper Text Markup Language) has been widely accepted as the internet revolution file standard format. HTML is a markup language developed to enhance the web. Currently, most sites in the HTML file. With more and more use of HTML documents, it increases the need for HTML conversion.

By converting the content to HTML files, you can easily distribute content on the web. You can extend a helping hand by providing your information over the Internet you more customers every day.

List of HTML conversion services is as follows:

  • Convert Word to HTML
  • Convert PDF to HTML
  • Convert HTML to PDF
  • Convert Text to HTML
  • Convert HTML to XML
  • Convert HTML to DHTML
  • Convert HTML to XHTML
  • Convert XML to HTML
  • Convert RTF to HTML
  • Convert Power Point to HTML
  • Flash to HTML conversion

Today, a number of BPO companies provides high quality at competitive globally HTML conversion solutions for customers. By outsourcing HTML tags, companies can minimize risk, reduce costs and thus concentrating on their core business.

Major benefits of outsourcing HTML conversion:

  • Pricing as low as 40-60% of prevailing industry rates
  • High quality services in quicker turnaround time
  • Access of specialized service
  • High speed & low cost communication
  • Reduces capital cost of infrastructure
  • Save manpower and training costs
  • Increased customer satisfaction
  • Remove management headaches

Reduce your workload by outsourcing services to HTML conversion expert HTML conversion service. If you are looking for specialists in the HTML conversion are considering outsourcing services HTML conversion needs to us, your special requirements.

Posted in: dhtml| Tags: Internet language core web text markup file conversion html convert

Evaluation of the website Design

11/30/2009

Web site design since the beginning of the evaluation of the Internet a lot. The first site on the Internet is just a simple black text file. The site is by Tim Burners Lee, the founder of the Internet. Since then, the website has been developed into the design and code combination. In the 90's, websites, designed to use color and text effect. Design is very simple web page that looks like the company's brochure.

The Internet boom, and have the opportunity to do business online changed the look and feel of the site completely. People are looking to open up the network market and to gain an advantage. They developed a beautiful website to attract visitors and more sales. The original web site full of information, and there are a variety of colors on a single page. Most of those sites do not like people. These sites have overlapping colors, big text and some eye-popping text to use your attention away from the main products / services.

Then, came the internet recession, and that was a greatest period for website designs. People learned from their mistakes and started to design some good looking sites that allowed the visitor to focus on the main product/service they were offering. But there was one drawback; the internet was going through a learning phase and they used to think that simple websites are designed cheaply and used to run away. So, most of the big players changed their website design to interactive flash based movies to impress visitors with the uniqueness of flash based design.

At those times HTML, DHTML and Flash were used to create website designs. The table based design was good but lots of codes to write and implement style on each and every object on the web pages.

To address this problem, CSS (Cascading Style Sheet) was introduced and many designers adopted it to get rid of long codes. CSS is the latest trend in web design. There are no tables to draw. Div tag can be used to assign styles to any object or component on the web pages.

The latest trends in web design is a 15-year development process, step by step, the results took place. Now, the site design more sophisticated, their site's content-centric, rather than the reverse. Good web designers are using a layout directly to the visitor's attention to content rather than design. In the design and development, so that the eyes of tourists, so that their participation.

Now designers are more towards creating perfect layouts and keeping the background simple. The website is intentionally left blank outside the layouts to avoid distraction. The images and icons are also used to highlight certain points and now a day’s videos are embedded on the sites to provide dynamic content that will attract the visitors instantly. Subtle and light colors are used to complement the design. 3D gradients and reflection effects are current trends.

Has come to Web site design improvements day by day. Mature, and more important than filling the icon image to see a professional appearance, other design components. Rules of online age and more of today's design and content below, visitors are given a reason to think the product / service is not interested than to appreciate the design of the site.

Website design future is really promising. Future, dynamic content such as videos and images are used to attract tourists. Internet as the only move towards business platform for a major role in most of the companies

For more information, please visit

Posted in: dhtml| Tags: Internet Website web design text site file lot beginning evaluation

Hot Posts

Latest posts

Tags

Others

Sponsors

asp.net interview questions