Archive for November, 2009

What is the difference between SCRIPTING LANGUAGES (say PHP) and PROGRAMMING LANGUAGES?

How do these works?… In what way they differ ?

There is not one absolute definition.

These are some definitions that I’ve heard have been used:
1) scripting language refers to interpreted languages and programming language refers to compiled language. This is a blurry definition, some languages have both an interpreter and compiler. C is typically compiled, but there are C interpreter as well. To make things worse, there are some languages that are COMPILED to an intermediate language/bytecode and then this bytecode is INTERPRETED by a virtual machine, e.g. Sun’s Java VM, CPython, or .NET languages.

2) scripting language refers to a language embedded inside a larger program that is used to extend the functionality of a larger program. A Visual Basic for Application (VBA) automates Microsoft Office; Javascript is used to script browsers. While programming language creates a stand alone application. Visual Basic 6 and Visual Basic .NET creates a standalone program. This is again quite blurry, some languages can be used for writing standalone application but can also be embedded in another platform; CPython is typically used to create stand-alone application, but it provides hooks to allow it to be used for scripting another program.

3) scripting language refers to shell scripts, example is "batch scripts", bash, etc. Shell scripts automates tasks in the Operating System. Shell scripts is used to write glue codes http://en.wikipedia.org/wiki/Glue_code

4) scripting language refers to a highly dynamic but slow languages; programming languages is has long compile-to-run cycle but runs very fast. This isn’t true anymore as many dynamic languages are gaining speed.

Whatever definition is used, one thing is clear though, the term "scripting" or "programming" is a property of the language implementation, not a property of the language itself. And don’t worry about whether a language is scripting or programming, they’re of no difference nowadays.

How can PHP programming help one to restart a career after a long break?


im sure if your looking at most needed jobs in the market place, they will be VB.Net, Java & C++ . These are most common per most companies in any area (mostly), other languages are also used, but not as Highly used as those 3.
But you need to look in the paper and find what jobs are looking for in your area.

Moving Your WordPress Blog

Moving a blog can make it unreachable for 24 - 72 hours, unless the new domain name has fully propagated around the Internet. It is just the way it is and WordPress doesn’t have anything to do with such limitation. Moving is best done when you have the time or have planned ahead.

Moving Towards a New Domain Name

The first thing to do is create a database back-up. The entire WordPress installation needs to be downloaded with no exceptions. This is not the time to tidy up your install or to upgrade/change anything. That would have to wait after the blog has been moved and is shown to be working. Your computer should now have these items: one or more database backups plus all your wpfiles, folders and images directories. The backups should be copied again to somewhere safe on your machine so that the next stage can be done on a copy.

Alterations are needed to be made. The details of your new mysql connection have to be changed by opening the file “wp-config.php” on your WordPress install. The file: SCR 1.0.002 Freeware Edition (13KB) should be downloaded to search and replace your website URL with your Xampp url. This is because your blog address inside the database has to be changed. Database files can be very large, thus opening them can be excruciatingly slow. It could even crash your machine. By replacing the old address with your new address, the URLs within your site will still work.

Moving hosts will mean changes in your passwords. You can double check your new passwords for your mysql connection as well as other passwords that you have in use. After which, it is now time to upload all your files to your new web space and restore your database. From the website cpanel, select the database you are using. You should still need to look inside the “wp - options” table to check that the values in “site - url” and “home” are correct. Clear your cache and cookies before checking your new site.

It is possible that you will get a blank page when looking at your blog right after moving. In this case, the themes should be checked. A faulty theme file causes a blank page. You can try changing themes or uploading a new theme then changing to it. Should this step not help, you should check whether all the WordPress files are present and are of the correct size. You can use your ftp client to download a new set of WordPress files, if needed.

There may be instances where you would need to move WordPress around within your server. WordPress is flexible enough to handle this situation. Moving WordPress from one server to another is also possible.

Moving Within

WordPress files can be moved from one location on your server to another. Start by creating the new location using any of these methods: create the new directory when you will be moving your WordPress core files to a new directory, or move the WordPress to your root directory by making sure all index, php, .htaccess and other files that might be copied over are backed-up and/or moved. This will then make the root directory ready for the new WordPress files. It is crucial that you set the URL locations before you move the file.

When done, test your site to confirm that it works right. Make sure that you let people know the new address when the change involves a new address to your blog. Consider adding some redirection instructions in your .htaccess file to serve as a guide to visitors towards the new location.

Handling Redirects after Moving a WordPress Blog

Concerns should not be limited to the moving of the actual WordPress program files but also on finding a way to redirect visitors that may be following outdated links to an old content. It is possible that redirects can mess up RSS feeds and search engine results thus an ideal redirect option that preserves both past and current search results is the key. After moving your WordPress blog, look into how 301 redirects can be properly handled.

A suggested way goes like this: open your .htaccess file in the directory that houses your newly moved WordPress file and edit in either your host’s file manager interface or by downloading to your local machine. Insert a line at the top that reads: redirect301/blog/http://www.yoursite.com/. You have to make sure to insert the opening and trailing / at the end of the destination path. Save your .htaccess file. Reupload it if you’re editing on your local machine rather than on the server. Load your old WordPress URL to make this work.

Moving Several Posts from One Blog to Another

When you decide to move over all your WordPress related posts from another blog, the task is basically to extract a few posts and their comments and to insert them into the database of the new blog. This can be accomplished by following these steps: click on the wp-posts table name in the left panel when you are in the proper database. It should be noticed that other tables might have a different prefix. Click browse on the top in the next panel. Select the checkbox at the beginning of the rows that you want to extract or export. Select “Export” at the bottom of the rows where it says “with selected”. Deselect structure on the next panel, leave selected Data, check Save As file, then Go. You will then get a prefix - posts.sqlfile.

Open the file in your chosen text editor such as Notepad. Change the wp-part everywhere to target_ -, depending on the prefix of the tables where you want to move the post using Search/Research. You are ready to go if you move the post to a new, empty database. However, if the target blog has posts in the database, there is some more work to do. You have to check in the database what the ID number of your last post is in the target blog. You should also go back to the .sqlfile and take a look at the first line below Dumping data for table…

Moving a WordPress Blog to Your Own WordPress Installation

WordPress is a platform you install on your own/hosted server and maintain the installation yourself. However, attempting to make the move should only be done if you’re comfortable with ftp, basic work in the UNIX shell, basic SQL and a little bit of general hacking. Expertise is not really required but possessing the basic skills and the willingness to give it a go are.

The first thing to do is to install WordPress and get a hosting service. Choose one that does an automatic install of WordPress to do away with fiddling. Of course, you would need http://mysql.php, some form of ftp access and a shell account. The challenge lies on setting up your blog on a new place while finding the theme and the plugins you want. The themes on http://WordPress.com normally have links to places you can download them from.

Danny Wirken
http://www.articlesbase.com/communication-articles/moving-your-wordpress-blog-69035.html

The $7 Revolution

This month a quiet revolution has taken place in the world of Internet Marketing. One small e-book has possibly changed the face of information publishing and made it easier for all of us to make money online.

And the person we have to thank for that is a young man called Jonathan Leger. Earlier this month he launched an e-book The $7 Secret and it instantly became a hit. If you have not read it yet you can get a copy from http://www.urlnex.us/7dollars/

So what is it all about?

Quite simply you produce a $7 dollar e-book. This as the name suggests is an e-book you sell for $7 and is usually around 30 pages long. Now while it may be difficult to cram The History of the World into 30 pages it is a cinch for most subjects covered by information products. In fact most subjects are better covered in 30 pages or less than these 200 -300 page info products that are full of fluff and which we never get round to finishing anyway.When was the last time you completely read a 200+ page information product?

So all the important facts on any subject can be covered in 30 pages.

So why $7?

Because it is a fair price that is easily afforded by most people. It is also a very popular price. I have recently offered several $7 products to my list and had an excellent response. It is true it can be more profitableselling a lot for a little than little for a lot.

But then the $7 e-book has a real bonus in the tail.

When you buy a $7 e-book not only do you get an information packed bookbut a product that you can sell and keep 100% of the money. And it is simplicity itself. There are no web pages to post, no download pages to makeyou simply add your Paypal e-mail address to the link provided and you can begin promoting the e-book.

So why would the author let you keep all the money?

Because in the e-book the author has included links either to other products, his web site or an affiliate program. He makes his or her money from the back end so you both win.

The $7 Secret shows you how to create your own $7 books but Jonathan wenteven further than that. He invited readers who had followed his adviseto submit their books to him and he would put them online for everyone’s benefit.

So there is now a site that has over 280 $7 e-books on a wide variety of subjects both inside and outside of the Internet marketing niche. Full of information that you could find useful plus of course a product you can then sell either through your list or eBay and keep the money. One sale and youwill have covered your costs.

To see the 280+ e-books mostly at $7 each including resale rights visit
http://findv.com/x.php?3p5

Dave Bromley
http://www.articlesbase.com/internet-articles/the-7-revolution-110835.html

Rv Owners are Swappers - not Swingers

How to Get Website Traffic? Search Engine Optimization (SEO) is Necessary or Optional?

What are a list of words you should not use when programming PHP?

I know there are some words you should avoid using when writing PHP. Words that are predefined functions and variables. Such as "load." Does anyone know a website that lists these words (so I know what to avoid)? And can they easily explain why you should not use them (so I can explain this to someone)?

They are called reserved words, or keywords, and you can’t use ‘em as constants because they are part of the PHP language. It would make it impossible for the PHP engine to know what you are referring to: the keyword or the constant you’ve declared.

A list of PHP keywords can be found below.

The Backbone of Vietnam ~ ‘ Vietnam Truly’!

Start learning PHP, or Stick with C++?

Should I start learning PHP? It seems like it would be useful to know for creating websites.. Or should I stick with C++ and start learning some advanced winsock functions?

How long would it take for me to make a nice website in PHP if I have previous programming experience? If I could do it in a month then I am def going to start learning PHP, otherwise I am going to just focus on C++

?

Improving Your Credit Score - Tips for Success

Bill Fair and Eric Isaac. Have you heard of them before? They are the F (Fair) and I (Isaac) of FICO. Founded in 1956 these two gentlemen created a particular system of measuring risk that is the most widely used score for industry professionals. Everyone is entitled to know their FICO credit score and there are scores (pun intended) of websites available to help you get yours.

Having a good credit score, which is now considered to be in the ballpark of at least 700 points, is the determining factor that decides how much interest you are going to pay on major purchases such as a mortgage, car loans, equity lines, credit cards, and other sources of credit and loan. This three digit number will also decide how much of a credit limit you have been awarded.

So what goes into making this vital score that determines the course of our finances? Let me do a simple and basic breakdown.

10% - Recent research into obtaining new credit (i.e. Have you recently been applying for new credit cards?)

10% - The types of credit that you use (Installment loans, revolving, etc.)

15% - Accounts for the length of credit history you have (The longer, the better)

30% - Expresses the amount of debt you have in ratio to the amount of credit you have available.

35% - Getting your payments in on time. Late fees are not the only thing you will be paying for.

As you can see, so much of keeping our credit score in good standings is paying our bills on time. Lenders love to know that if they are going to loan you a certain amount of money, they can count on you to be reliable in paying them back.

There are other things that affect your credit. Settling on your credit cards and closing the accounts will negatively impact your credit. Letting your account expire because of inactivity will close your account as well. If you call your creditors and ask to be put on a program to pay off the balance of your credit line, they will likely close your account without you knowing it, unless they state otherwise. Tax liens, court rulings, and the number of recent credit checks can also weigh down your credit score.

People have figured out ways to increase their credit score in simple ways such as opening new lines of credit with the purpose of increasing their credit debt to available credit ratio. They will do that by opening several department store cards and making sure they do not spend the credit that was given. If you decide to do this to add a few more points to your score beware of fees that the bureau may penalize you for opening so many accounts at once.

Other people have gathered together simple facts and procedures to making your credit score improve significantly. If you are interested in learning more about improving your credit score, please see the recommendations tab on my website at http://www.dianathecreditcounselor.com/index.php?p=1_5_Recommendations for more information. May you have happy credit days ahead!

Sincerely,

Credit Counselor,

Diana E. Jones

Diana E. Jones
http://www.articlesbase.com/credit-articles/improving-your-credit-score-tips-for-success-751225.html