How to Prevent Unauthorised access into Member area in PHP

One of the Small Issues faced in a Web application is that,Programmers would have coded the login and the logout partwell, but when the user types the member area address directly on the address bar it would take him in without actually having to login. So my suggestion to prevent this is by using effective

Read More…

5 Easy Steps to Connect a PHP script to MYSQL

STEP 1: CREATE A CONNECTION First step is we have to create a Connection to hold our database connection. In this step we give details like server information the username and password for the mysql client The PHP Mysql function to connect is 'my_sql_connect() We pass in 3 Parameters the servername,username and password in order.

Read More…

Data Mining what Actually it is !

What is Data Mining? Simply Data Mining refers to the process of looking for hidden pattern and trends in data which are not apparently visible from summarizing the data. It can be called as an sub-domain of databases but involves ‘No Querying’ It is based on an ‘Interestingness Criteria’. In other words It takes input

Read More…

Hub,Bridge,Switch,Router Made Simple

HUB A hub is the simplest Internetworking device A hub simply extends the span of a Single Local area Network A packet coming from one port is sent to all other ports. The recieving Computer decides if the packet is for it It operates at level 1 of OSI layer Every packet is sent out

Read More…

Difference Between Echo and Print in PHP

ECHO Echo is a language Construct It is not a function and so it does not return any value The Main advantage is,echo is ‘Faster’ than Print It can take Multiple Arguments Both echo and print will produce the same result My personal advice is use Echo when printing ordinary statements in php Example for

Read More…

What is D Programming Language?

'D' is a General Purpose Programming language. D is a language with C and C++ type Syntax. It also include the productivity of modern languages like Phython and Perl. The D language is statically typed and compiles directly to machine code. It supports many programming styles : imperative, object oriented, and metaprogramming. dsource.org is an

Read More…

Calculating age from date of birth(dob) Oracle

Caluclating age from date of birth is used in almost all the applications. In Order to calculate this we use trunc() function in Oracle. The trunc function returns a date truncated to a specific unit of measure. To use the present date use the function sysdate. Subtract the system current date and date of birth.

Read More…

SESSIONS IN PHP

SESSIONS IN PHP A cookie recides on the users web Browser and may be suited for storing small amount of information and for limited concern on security. When we need to store a considerable amount of information we use session and we have a Security advantage of session being stored on the web server itself

Read More…

Login Logout Snippet Using Sessions in PHP

   Login.php This is the Login form with a Username Text field and a Password field Verify.php This is the PHP script specified in the Form Action of the HTML Page,whose primary purpose is to authenticate a user is a verified user or not. Logout.php Unsetting a Session Variable will lead to nullifying the session

Read More…

What is XAMPP / WAMP / MAMP

XAMPP/WAMP/MAMP – Single Package Consisting of Apache,Mysql,PHP In order for a web application to be Complete we need a database platform,A Server to execute server side Scripts and to store our files.     Instead of downloading this packages Separately and installing them individually these are available in a Single Package. Point to Mention here

Read More…

Order to be followed when Learning Web Technology

1.HTML/XHTML: The first thing to learn in Web technology is html.Html lets us allow design web pages,without html there is no way we can create a web page. XHTML is an extended HTML,it is just an extension of HTML,we can call it a Strict HTML in which we have to strictly use doctype in our

Read More…