Thursday, November 28, 2013

Configuring Wamp Server - Learnmore with @Shivasurya


configuring Wamp server:

whenever You install a local server You have to configure it work it right to work perfectly on your environment.And so configuring it properly could enable to work with apps like MYSQL database and Sqlite databases.







1) After installing the Ad-on packages such as sql,apache,php.please restart the server on your notification area.

Success: if you are in right path the colour of the notification will turn Green From orange.

click here to view the output screen

2) After the installation,Check out that You are able to view the localhost welcome page using the link http://localhost/

click here to view the output screen

note:If you are using windows 7 ,then there might me already IIS may be using the port of the localhost :80
so no problem just try other ports such as 
http://localhost:8080/ 
Success:  you might get the below image screen and this may take You to start your web apps such as mysql database ,sqlite database and webgrind.

3)then configuring Mysql database.Many starters struggles here beacause they dont know the default password for the mysql database.
but :) generally there is no password for this database after the fresh installation.so try to quickly access and change your password.

steps: a)open http://localhost:(corresspondong port number)/phpmyadmin/

click here to view the output

b)then You will be prompted for the username and password.if you are very first time to use phpmyadmin in wamp server then the username is root & password is nothing.
just login and at the start up you will asked to change the password for the root user.
click here to view the output

c)You may get problems like AllowNoPassword password required.in this case go to c:\wamp\apps\phpmyadmin(your version)\config.inc.php

open the file and search for this sentence "$cfg['Servers'][$i]['AllowNoPassword'] = false;"


change it into.

$cfg['Servers'][$i]['AllowNoPassword'] = true;

4) To enable your localhost from other port just use the notepad to edit your 

httpd.conf file (located at shortcut menu of apache.)
open it just search for the line "
onlineoffline tag - don't remove"

below that just add up "
Allow from all" below "Order Allow,Deny"

and search for "#Listen 12.34.56.78:80" and just add up corresponding port thet you have selected 
example:
#Listen 12.34.56.78:80
Listen 8080

5)usage of .htaccess in your localserver is possible after editing your httpd.conf file
open the same httpd.conf file near apache shortcut menu

open it just search for the line "#LoadModule rewrite_module modules/mod_rewrite.so" and replace it to "LoadModule rewrite_module modules/mod_rewrite.so"
just remove the hash sign.

now your wamp server is ready to start your projects.just enjoy.incase of doubts ask as comments. request tutorials using comments.



-s.shivasurya.









Tuesday, November 26, 2013

PHP web language -learnmore with @shivasurya

PHP - A Global Web Based Language.

php logo

WHAT IS PHP ?

php language is web language which was originally belongs to Linux platforms.It is expanded as HYPER TEXT PRE-PROCESSOR .It was originally created by created by Rasmus Lerdorf in 1995.It almost used in all websites were Database is used and to process the script and result output will be in the form of HTML.


WHY PHP ?

php is open source software which is licensed under Apache Foundation. PHP is now installed on more than 244 million websites and 2.1 million web servers.
don't get scared at once about SERVER.It's just a same computer which direct process coming from clients which has large number of memory units present.

USES OF PHP ?
internet giants that uses php language.


php can be used for any purposes if you have the

creativity+functions+applying=New discovery

I know you guys will be eager in in knowing about php uses in day to day life. php is used in most of the websites such as FACEBOOK,WIKIPEDIA
now you could think of the power of the language and it's uses.

Whatever You update status in Facebook ,search for info's basically uses PHP language.there are lot of developers ahead moving with php language.
so let us also move with them to know what's happening behind the every successful status updates ,sharing of photos ,tagging,online bill payment.....

1)php language consist of numerous functions present inside them.that mean, you can utilize the functions to obtain the result from them and programmers are allowed to create and define their own function.

2)php language allows you to retrieve insert update database and could create dynamic web page contents as users likes.there is no restriction of designing in php.

3)easy portable language.even a kid could learn this language if You are well versed in object oriented language such as C,C++,JAVA.

4)finally If you could learn php You could define an algorithm like MARK- facebook,and there is no doubt that u too can create a social network sharing website with little more efforts and patience additionally some practical skills on java script language.
got interest on php? let's start here.

how to install php in local disk(your desktop or laptop) ?

to run a php enabled page in your browser u need to install first a server.
server is nothing but a program which is used process the request from the clients and throw back in the form of html dynamic formats.
most of use windows platform so,i would personally recommend to use WAMP server.

wamp server.


so,wamp server can be downloaded from the link.

select appropriate versions 32bit or 64 bit version for windows and i would recommend you guys to select latest version of Apache and MySQL add-on packages.
http://www.wampserver.com download link.

download it first and install it.let you say the configuration that you have to do by next post.

if you feel free please comment below.

(c)-
2013- s.shivasurya s-mail productions ltd. 






Monday, November 25, 2013

What Is Internet?-Learn More from @s.shivasurya


Internet

internet for everyone

The Internet is a global system of interconnected computer networks that use the standard Internet protocol suite (TCP/IP) to serve several billion users worldwide. It is a network of networks that consists of millions of private, public, academic, business, and government networks, of local to global scope, that are linked by a broad array of electronic, wireless and optical networking technologies. The Internet carries an extensive range of information resources and services, such as the inter-linked hypertext documents of the World Wide Web (WWW), the infrastructure to support email, and peer-to-peer networks.
origin of internet.

Most traditional communications media including telephone, music, film, and television are being reshaped or redefined by the Internet, giving birth to new services such as voice over Internet Protocol (VoIP) and Internet Protocol television (IPTV). Newspaper, book and other print publishing are adapting to website technology, or are reshaped into blogging and web feeds. The Internet has enabled and accelerated new forms of human interactions through instant messaging, Internet forums, and social networkingOnline shopping has boomed both for major retail outlets and smallartisans and traders. Business-to-business and financial services on the Internet affect supply chains across entire industries.
The origins of the Internet reach back to research commissioned by the United States government in the 1960s to build robust, fault-tolerant communication via computer networks. While this work, together with work in the United Kingdom and France, led to important precursor networks, they were not the Internet. There is no consensus on the exact date when the modern Internet came into being, but sometime in the early to mid-1980s is considered reasonable.

Who Owns the Internet?

No one actually owns the Internet, and no single person or organization controls the Internet in its entirety. The Internet is more of a concept than an actual tangible entity, and it relies on a physical infrastructure that connects networks to other networks.

Is Web and Internet the Same?

The Internet is not synonymous with World Wide Web. The Internet is a massive network of networks, a networking infrastructure. It connects millions of computers together globally, forming a network in which any computer can communicate with any other computer as long as they are both connected to the Internet. The World Wide Web, or simply Web, is a way of accessing information over the medium of the Internet. It is an information-sharing model that is built on top of the Internet.

lets see about how does internet works in next post in easy language.
feel free to post comments.