Friday, November 27, 2015

Simple Introduction To PHP Language

PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.


What Can PHP Do?
- It can create, read, open, delete and close the files on server.
- It can generate dynamic page content.
- It can send and receive cookies, can modify, delete, update data in the databases.
- It can encrypt the data and it is also used to control user-access.

Why PHP?
- It is a cross platform programming language that means it can run on various platform like Windows, Mac OS, Linux, Unix etc.
- Supports wide range of databases and is compatible with almost all servers used today (Apache, IIS, etc.)
- It is easy to learn and runs efficiently on the server side.

Simple Example of PHP:

<html>
    <head>
        <title>Simple Example</title>
    </head>
    <body>
        <?php
            echo "Hello World”;
        ?>
    </body>
</html>

- PHP Files can contain text, html, css, JavaScript and PHP code and it is executed on the server.
- PHP Files have extension “.php”.
Read More »

Thursday, November 26, 2015

How to Install Wordpress On Your Localhost?

You can install Wordpress On your Own Computer (Localhost) before your site being live, And also if you are a developer you can test and check your themes, plugins which is safer environment away from live site.

Without talking anything, let's dive in.
Wordpress is PHP based Programming language that means you need to have a server to run.

In this tutorial we are going to use XAMPP to install server on your computer. (You can also use WAMP)

Download XAMPP from here
XAMPP is a free, popular, easy and open source application and a compilation of Apache server, php, mysql.

-After Downloading XAMPP, Install it on your Computer, After it is done, Run XAMPP Control Panel
























-Now Select Apache Web Server and Click on Start and same with MySQL Database, the snap should be like this.
- Now Open your Web-Browser and type localhost on web-address bar. if you are seeing like following snapshot, that means you have successfully installed XAMPP and the server is started properly.
-Now, In your browser type http://localhost/phpmyadmin
-Now Click on 'Databases' tab near the top-left and you will be prompted to create a new database. Here i have created database name as 'AMB'.
-After creating a database Download the Wordpress File from here. Unzip the Wordpress File and Copy it to the C:\Program Files\XAMPP\htdocs. (if you are using Mac, Unzip and copy the Wordpress file to Application\XAMPP\htdocs.)
-Now Open Wordpress Folder and find wp-config-sample.php and rename it to wp-config.php and open the file and scroll until you see like this.
-Now change database_name_here with the database name that you have created earlier. here i am replacing it with AMB , username_here with root and leave password_here blank like this.
-Now save file and close it, And In your browser type http://localhost/wordpress and Type Your Site title, Password and email address and click on Install Wordpress. And Login to the Dashboard.
- After successfully logged into the Dashboard. The Wordpress Is Installed Successfully.
- Now Visit the site.
-Now its Done,
Feel Free to Comment, if you are facing any problem during these process.

Read More »

Monday, November 16, 2015

How To Add Code Box In Blogger Blog

Hello readers,it's me new author of this blog and this is my first post in this blog, In this post i will show you How To Add Code Box Area in Blogger Posts.well,People want to add the HTML code in blogger in different box so that one can easily locate the html code in the post and also easily copy and paste the code to us it.

See the step by step guide to enable this function in your blog for each post.

Step1: Log in to your blogger Dashboard >>> Template >>

Step2: Then Click on the Customize

Step3: Now a window will open their click on Advanced >>> then >>> Add CSS

Step4: After this a box will open. Add the following code in the box and click on apply to blog button to enable this in to your blog.
.code { background:#f5f8fa; background-repeat:no-repeat; border: solid #5C7B90; border-width: 1px 1px 1px 20px; color: #000000; font: 13px 'Courier New', Courier, monospace; line-height: 16px; margin: 10px 0 10px 10px; max-height: 200px; min-height: 16px; overflow: auto; padding: 28px 10px 10px; width: 90%; } .code:hover { background-repeat:no-repeat; }
Step5: Now in order to apply this to blogger post, when you're composing your post goes to HTML and then put code between the following tags.
<div class="code">Paste your code</div>
Now, Paste your code In the place "Paste your code"

Now,You Have Successful Install This Code Box In Your Blog.If You have any problem Leave your comment Or Just send me your problem At "bishalcreations@gmail.com" And Follow Us By Email To Get Update on your email When We Add new post in our blog,Like our Facebook Page,Circle Us On Google And Follow us On Twitter.

About The Author 'Bishal Bhandari'

 I’m Bishal Bhandari From Nepal And I Manage Bishal Creations And All Rounder Tricks.I’m Not A Professional Blogger By Education I’m Self Trained Guy And I Am 16 Years Old.Well Talking About Me I’m A Normal Guy Who Lives The Life Fullest, Loves Searching New Things On Internet, Loves Visiting New Places And I Like To Make New Friends From Around The World And Love To Share My Knowledge.

Check My Blogs
All Rounder Tricks
Bishal Creations

Happy Blogging!!!!
Regards,Bishal Bhandari

Read More »