• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Sql
  • php
  • C program
  • Seo

Codelack.com

  • Home
  • C++
  • networking
  • Sql server
    • what is rdbms | one to one | one to many | many to many relation-codlack
    • sql server create table
    • code rules in sql server
  • ASP.NET
    • control state in asp.net
    • cookie in asp.net
    • datalist control in asp .net
    • Using ASP.NET To Send Email
    • application state in asp.net
    • file upload control in asp.net
  • contact us
  • Data structure
    • what is Data structure
    • doubly linked list program in c
    • Array in data structure
    • circular queue in data structure
    • Linear data structure
    • Delete node at any position in singly linked list
    • dequeue in data structure
    • implementation of stack using a Linked list in data structure
    • implementation of stack using array in data structure
    • linked list algorithm
    • linked list in data structure
  • C
    • continue and break in c
    • history of c programming language
    • array program in c
    • c programming practice questions
    • enumeration in c
    • C programs with solutions
    • Characteristic of c
    • print 1 to 100 without using loop in c program
    • two single dimension 2D array in c
  • php
    • php
    • Variables in PHP
    • Scalar data types in php
    • Output function in php
    • how to use php string functions | example of string function
    • point to point configuration
    • error in php
    • Array in  php

php

why learn php 

Introduction to php

PHP is server side scripting language implemented by rasmus lerdorf in 1994 using  C and  perl softwares.

Using  PHP, we can develop  dynamic web pages.

Rasmus lerdary implemented PHP 1.0 too track total no of visitors in his server.

PHP  stands for personal home page . It also has alias  name hypertext preprocessor.

Features of PHP

PHP is cross platform  i.e. it support any type of operating system .   example  window , Linux etc.

PHP is  cross database  i.e.,  it supports any type of database server  example :-  MYSql, SQL server , etc.

It  is providing built in libraries to connect  with MYSQL data base .

PHP is croos web server, it server, it supports IIS , apache , Tomcat. Etc.

PHP is open source software.

PHP is   very simple to develop logic.

Execution of  PHP   is very  fast  example  facebook, because of  zend  engine .

PHP 5.0  is supporting no of object  oriented programming concepts.

PHP supports different types  of  content management . system software, Joomla,    drupal,  wordpress,  etc .

These software provides pre-implemented  logic to develop websites or web applications.

Zend organization  is maintaining PHP , they  introduces no of  tools  and  editors  to work with PHP.

PHP support different types of editors  to develop program or  application. We  can also use light weight editors  example  Notepad, edit+ , notepad++  etc.

PHP supports different types of security functionalities to apply  security to application.

Example :-  one way , encryption, two-way encryption, authentication etc.

Client  Server  Architecture:

 Web server

Web server is a software used to run web applications , Main function of sends is to handle  request from client and  sends response to client.

Example :- IIS , Apache, Tomcat , etc.

Web Browser

It is a software  used to open web pages from server.

example :-  firfox, chrome , etc.

Client-side Script

If any script executes in client  system with  the help  of browser,  comes under client-side script ., example :- HTML, JavaScript, etc.

Server-side Script:

  1. If any script executes with web  server , it comes under server-side script.
  2. This  script runs in server and output is loading into browser. Example – PHP, ASP, etc.
  PHP 

PHP is loosely typed language so that  there is no need to provide data types at the time of variable declarations.

Variables names in PHP should start with “$”  symbol.

PHP is  case sensitive in variables point of view and case  insensitive in functions point of view.

Every statement in PHP should be terminated with  ‘;’.

PHP file extension should be  PHP.

PHP script , we should place with in the script declaration style tags.

<?php

—-

—-

?>

No of open source software’s are  available to install , PHP , Mysql and apache ,

they are  :..

Lamp

  1. Stands for Linux apache  Mysql PHP .
  2. Supports only Linux  , OS, and downloads apache, MySql and PHP softwares.

WAMP

  1. Stands for windows , Apache , Mysql , PHP .
  2. Supports only windows OS.

XAMPP

  1. Stands  for vross OS  , Apache , Mysql, PHP and perl
  2. Support all OS.
  3. Xampp is available with different versions  1.x,2.x,;;;;;etx.

XAMPP Control Panel 

By using Xampp control panel, we can start apache MySql, data base servers after installation of xampp, xampp control panel short out icon will appear on screen(desktop).

Folder structure of XAMPP

After installation of Xampp software  we can find  out xampp folder in directory location. It contains no of  subfolder and configuration settings.

Htdocs

It is root directory of apache server . all PHP program should  be saved at this location only.

Php.int

php initialsation is a configuration setting file of php available in

Httpd.conf

It is apache server  configuration setting  file available  in xampp/apache/conf folder.

Tmp 

Temporary memory location of apache server. Uploaded files and configuration setting of session are available at this location.

Php my admin  

it ia an IDE to work with  Mysql data base .It is available with xampp installation.

Primary Sidebar

sql

  • introduction of sql
  • database management system
  • hierarchical database management system
  • what is rdbms | one to one | one to many | many to many relation-codlack
  • codd rules in sql server
  • Character Data Type
  • constraint unique
  • sql server create table

Ads

data structure

  • Data structure
  • Linear data structure
  • Array in data structure
  • What is a algorithm
  • stacks in data structure
  • queue data structure
  • dequeue in data structure
  • Priority queue
  • circular queue in data structure
  • linked list algorithm
  • Delete node in singly linked list
  • tree in data structure
  • implementation of stack using array in data structure
  • implementation of stack using a Linked list in data structure
  • Doubly Linked List Implementation

C programming

  • history of c programming language
  • C programs with solutions
  • Characteristic
  • constraint unique
  • continue and break
  • doubly linked list program in c
  • dynamic memory allocation
  • enumeration
  • print 1 to 100 without using loop
  • Variable declaration

c++

  • Introduction to C++ | similarities of  C++ structure and  class
  • default argument in c++
  • access specifiers in c++
  • Function In C++
  • friend function in c++
  • constructor in c++
  • destructor in c++ | How to call destructor C++
  • exception handling in c++

Categories

array multiplication (1) asp.net (10) B.ed (1) C# (1) c# (1) C++ (2) C program (3) FormView control (1) php (2) Seo (5) Sql (1) Uncategorized (12)
disclaimer

Copyright © 2022 · codelack.com