Differences Of A Crossover And Computer Patch Cable

Installing your own local network at home will be a great idea, especially if your work depends on the use of the computer and the internet. Life will be easier since you don't need to go somewhere else just for the sake of looking for the internet. If you are seriously planning to install a local network in your home, you should first find out the materials that you would need to be successful in your task. However, in trying to setup a local network there are different things that you would n
eed and the Ethernet cable is one of the most important and needed material. But when you go into the market y

How to connect two mysql databases in PHP?

Developer Says:
The sample code below makes 2 database connections and the reference to each database connection is stored in separate variables. Whenever you connect multiple databases you have to specify the link in mysql_query function to tell PHP to run the query on the specified database.

 
 /* * The sample code below makes 2 database connections and the reference to each database connection 
     is stored in separate variables.
 *   Whenever you connect multiple databases you have to specify the link in mysql_query function 
     to tell PHP to run the query
 *   on the specified database.
 */
 

Creating Email Templates in PHP

The technique is simple
  • The template text (including variables and html tags) will be stored in database. We will create a table with 2 fields i.e name and text. Each template will be give a unique name. A sample entry is shown in the image below
  • A PHP script will read template text from the database, update varlues of variables and will send the email
For this tutorial, i haved created a table to store all the templates a webiste needs. See a snapshot of this table below

Every template will have a name. The name of above template is welcome_email, which is sent to a member when he/she signs up for an account. The highlighted text in the image above has 2 php variables. The values of these 2 variables will be updated just before sending email.
PHP Code to Read Template


            $memberid=234;
            $code="6f7f9432d35dea629c8384dab312259a";
 
            $result=mysql_query("select text from email_templates where name='welcome_email'");
            $row=mysql_fetch_array($result);
 
            $template_text=addslashes($row['text']);
 
            eval("\$body=\"$template_text\";");
 
            $header="Content-type:text/html \r\n";
            $header.="From: From Name  \r\n";
 
            mail("member@someserver.com","Activate Your Account",$body,$header);
 ?>
You should assign values to all the varibles used in the template text before calling the eval function, as you can see the code above. $memberid and $code are assigned values and then eval function is called. The eval function is the crux of this technique. It treats string as PHP code and therefore converts php variables into their values. Thats it! If you have any questions please comment below. (www.qualitycodes.com)

Paste any graphic inside a vector shape with Adobe Fireworks CS3 or below

Follow the steps given below:

  • Step 1: Open Fireworks and create a new file of size 350x350 pixels.
  • Step 2: Draw a circle with the dimensions of 163x163 pixels using Ellipse Tool ellipse tool.  Then, type any text (as you like) using the Text Tool text tool. Now select both circle and text, go to Text >> Attach to Path (Ctrl+Shift+Y). Set the Text offset as -130, so that the text will appear on the top of the circle. Text offset is displayed under the properties window. You can adjust the text offset values to place the text within the path. Look at the image below that will show how the text is attached to path:
  • path
    (Click for the Text Path tutorial)
  • Step 3: Again draw another circle with the dimensions of 138x138 pixels. Keep the circle closer to the text and import any image (as you like). Now scale the image using Scale Tool scale tool. (Don’t use the center point to scale the image; otherwise the image will be stretched. Once you scaled the image, further you should not enlarge the image. If you enlarge the image from smaller one to larger, the image will be pixilated).
  • Step 4: You need to paste the image inside the circle. Click and cut the image. Then, select the circle and press Ctrl+Shift+V to paste inside the circle. Now the image is pasted inside the circle. The image will look as below:
  • Step 5: Draw another circle over the image with the dimensions of 145x145 pixels set the Fill Color as #003300 and Stroke Color as none. Since the circle should appear behind the image, go to Modify >> Arrange >> Send to Back (Ctrl+Shift+Down arrow). To apply shadow effect, click the circle. Now on the right side of the properties window, you will find filters, click over the + symbol and choose Drop Shadow from Shadow and Glow. Click on the tiny blue circle with "i" next to the Drop Shadow filter (Edit and arrange live filters button) and set the following values for the filter: Opacity – 30%, Softness – 4, Angle – 315, Distance – 3, Color - #000000. After applying the drop shadow the overall look will be stunning.
Paste inside Effect
Congratulations! You have now learnt how to paste any graphic inside a vector shape.
 (www.smartwebby.com)

Custom animated graphic with Adobe Fireworks CS3 or below

This tutorial teaches how to create the animated graphic as shown below. Animated graphics add an exciting, stylish look to your website. In Adobe Fireworks CS4, you can create animated graphics for banner ads, logos, and cartoons that move.

Color Palette - Parrot

#4AA521#197300#FFD600#B59400#8B1A11#E4AE71#000000#BE1328
Follow these 3 simple steps and your Animated GIF will be ready in a jiffy!

Step 1: Create all the Graphics your Animation needs

  • Open Fireworks and create a new file of size 100x100 pixels.
  • Draw a parrot of your own using pen tool pen tool and ellipse tool ellipse tool in Fireworks. See the illustration below that shows how to draw a parrot.
steps

Step 2: Creating the Frames of the Animated Graphic

In custom animation we need to setup the animation by creating each movement or step of the animation in separate frames. For this, we need to first place graphics that should appear simultaneously in layers and give each layer a relevant name. Next, graphics that should appear in more than one frame needs to be shared across frames by ticking the "share across frames" property when the layer is double clicked. A icon will appear next to the layer name. Frame 1 of our animation will appear as below:
frame1
Frame 1
Now, let's create Frame 2 of our animation:
  • Open Frames panel (Window >> Frames or press (Shift+F2)), by default frame 1 appears.
  • Click options icon in the top right of frames panel and select duplicate frame. A Duplicate frame dialog box will appear. In that dialog box enter the number of frames you need and select "after current frame" option then click ok. Your additional frames are now created. The image below shows how the frames panel will appears after we added just 2 frames for our animation.
  • frame panel
  • Now click on Frame 2 to select it and adjust the mouth of the parrot using the subselection tool subselection tool .
  • The image below describes the steps to change the first frame graphic to our modified parrot graphic for the second frame.
  • steps
    Frame 2 of our animation will appear as below:
    frame2 Frame 2
    Now, let's create Frame 3 of our animation:
  • Now click on Frame 3 and write any text (as you like).
  • The image below describes the steps to change the second frame graphic to our modified parrot graphic for the third frame.
  • Frame 3 Frame 3

Step 3: Settings, Preview and Exporting the Animated GIF

  • Now you need to set the frame rate, by default 7 per 100 delays appears. If you want to slow the rate, select all the frames by pressing shift tab and double click the frames, frame rate delay box will appear, set it to say 35. See the picture below that will show that how the frame rate will appears.
  • frames
  • And below the frames panel, select loop setting loop setting, and select forever if you want your animation to be continuous. See the picture below that will show how to select forever option from the drop down list.
  • You can preview the animation in the Preview panel. To do this, click the white arrow white arrow which is displayed in the bottom right of the document window (above the properties panel). See the picture below that will show you the play button.
  • play button
  • On the Optimize panel (Window >> Optimize or press F6), select Animated GIF from drop down list (either the first or second drop down), check if the third drop down is set to Web Adaptive (if not select it) and select the number of Colors as 256. The Optimize panel will look as below:
  • Optimize pallet
  • You can Preview the animation in any browser by Pressing F12.
  • Export your file and save the resultant GIF file in separate folder. (www.smartwebby.com)

Get The Loan You Want With Fast Credit Repair

In the event that you’re one of those people affected by a bad credit score you need to consider serious options for fast credit repair. Whenever you have a poor credit rating you will have to spend far more to have the ability to borrow. And it also becomes very tough to approach loan companies and agencies for loans and other financial products and services. When you have improved upon your situation you will understand that having a good credit history truly makes a difference and you can enjoy life and get the things you have to have a lot more conveniently.
There are actually various approaches by which you possibly can gain a fast credit repair. You can actually either complete the work by yourself or make use of the help of many companies that focus on professional credit repair. The time period needed for the repair will vary from person to person because it is dependent upon the amount of problems in your credit report. You will need to go through every step with patience and wait for the results to show. Nevertheless, by simply making a truly serious effort on your part you will be able to come out with a very good score.
The initial step for fast credit repair would be to get the free annual copies of your report from the credit rating agencies. As soon as you obtain them you will have to go through your reports very carefully.
The credit reports from all three bureaus may be a little different from one another due to the fact these reports would have been made based on the details creditors have provided them. So you need to carefully verify each of these reports for any mistakes. When you find errors you need to inform them in writing with specific evidence to back up your claim.
Consider paying down your financial obligations. This will assist you in a big way. By fully repaying the money you owe your creditors will report your new balance to the reporting agencies. This can raise your credit score to a great extent. An alternative method will be to negotiate with your creditors. Simply by negotiating you might get to reduce your rates of interest or maybe even decrease a specific amount from what you owe. If this is possible you should pay off the amount instantly and you will be in a position to restore your credit much faster.
When you are not able to complete this on your own you can utilize the assistance of some trustworthy businesses who focus on credit repair. Since they have the practical experience in working with these kinds of issues they are going to be able to identify the measures you’ll want to adopt for repairing your credit. They are going to additionally do all the negotiations on your behalf to increase your credit rating. You will have to find a respected company that has a good deal of experience in this field and can guide you in the most effective possible manner. (www.web-articles.info)

Collecting Autographed Books - A Fun Hobby

When is the time to collect autographed book? The time is now, of course. This is an especially exciting time because there are so many prominent figures out there that are recording their tidbits of information and putting their signature on these informative documents.
A signature is as one-of-a-kind as the person that writes it. Similar to other characteristics that we posses, this is something that is distinctively ours. The one-of-a-kind signature, no matter if it is a flowing script or a messy scrawl is one thing that can say a lot about the person who wrote their name.
It is a part of us that we can share with other people, it could be something special to someone, and far better than asking someone for something, that is personal. A signature is unique but not something so personal and imposing to ask for and can flatter people.
Following our ancestors, yes they collected autographs as well; people have been collecting autographs for more than five centuries. The value of autographs has changed over this period of time and although collectors want them for different reasons, there are many who have spent a lot of money on the autographs they have collected.
One of the most coveted and possibly the most sought are autographed books. Books have been popular forever. Even before there were printing presses to print books, there were books and this included before many people could read. The ones that could were most often the very wealthy that could afford to be educated.
During the 19th century, there was a rise in the rate of individuals who were collecting autographed books. People in general were learning how to read and the popularity of collecting autographs rose significantly during this time. Famous people adored this practice because their name gave a personal touch to their books and a monetary one also.
Autographed books are one of the quickest growing kinds of autograph collecting known. The economy does not seem to have a negative impact on this activity at all. If the economy is booming, the amount of people who want to collect is because of the extra money and time they have. When the economy is suffering the investments that are made in things that people will know will increase in value over time rather than risking their money, they will go with investing with a familiar collectible first.
The value of autographed books does not go up and down, as do other collectibles. The individuals who like to collect these books do not consider the items things to be stored away and looked at once in a while, and find books fun to collect. The value is more significantly stable than that of other collectibles.
The investment of autographed books is very stable however, it is not assured. Nevertheless, some people have autographed first editions that are valued at a couple thousand dollars and in a few years, that value has gone up to $25,000.
The ones that collectors are more interested in are ‘flat signed.’ This simply means the author signed on the title page. They did not sign on a sticker or on the bookplate and the signature is just that. No personalization – just the signature. The first printing, ‘flat signed’ book can become one of the most in demand collectibles of today.
In regards to first printings and the reason why they are more valuable, what it actually means is that the book has come from the first setting of type. This was from the time when books were actually printed on a printing press. When it comes to collecting autographed first printings, the first one is the only book that serious collectors want to add to their collections.
Those who collect autographed books need to be very careful when purchasing a book that has been signed already. The condition of the book must be in pristine shape for the book to be worth the most money. The collectible that is in what is called “mint” condition is the most valuable. In addition, there are books that are in good condition that are still considered a very good investment. One author, J.D. Salinger is an example of this. A book that is considered in good condition by this author is well worth investing in.
Pay attention when you are in your local bookstore. If a new artist is having a book signing, you might do well to get a copy because you never know if the book may end up being worth quite a bit. Standing in line for a few minutes to get a signature is certainly worth the investment if the book turns out to be collectible at a later date.
If the book you purchase for $40 or $50 is a ‘mint’ hardcover, autographed first printing, you could very well have a very valuable book in the future. Either way it goes, the book will be an investment you may well enjoy reading and you have the author’s signature or you ended up getting a book from someone who will be as famous as Hemingway. If you buy a book from an author that you have not heard of, keep a check on the literary awards from time to time. When the book title or the author of the book wins an award, this is a sign that the book will be going up in value. (www.web-articles.info)