Vous êtes sur la page 1sur 91

SYW

A
MlnC8 8C!LC1
8LC81 Cn

CNLINL S1UDLN1 kLGIS1kA1ICN SS1LM#

Submiiicd in pariial ulillmcni o ihc rcquircmcni
Ior ihc award o ihc dcgrcc o

ACnLLCk CI 1LCnNCLCG(I1)
Sess|on 20082012



Su8Ml11Lu 1C Su8Ml1L1u 8?
MrZaklr Pusseln Chandra rakash Meena
(PCu) 8oll no 08LSll1010



DLAk1MLN1 CI INICkMA1ICN 1LCnNCLCG
SPAnkA8A lnS1l1u1L Cl 1LCPnCLCC?
kukAS!Alu8

SYW


cON1N15

SNC CnA1Lk AGLS


1 ACkNCWLLDGLMLN1 03
2 kLIACL 04
3 IN1kCDUC1ICN 0S
a ACU1 CCLLLGL 06
4 CNLINL S1UDLN1 kLGIS1kA1ICN SS1LM 0708
S kCGkAMMING LANGUAGL USLD 0910
a n 1114
b nIS1Ck 1S
c USAGLS 16
d MSL 1718
6 kLUIkLMLN1S 19
7 ILASLIL1 1LS1ING 202S
8 DLSIGNING CI kCILC1 263S
9 CCDING 368S
10 ILCWCnAk1 86
11 DA1A ILCW DIAGkAM 87
12 CCNCLUSICN 8889
13 ILICGkAn 9091













SYW
18AnnlnC 8LC81


ACkNCWLLDGLMLN1

An undersLandlng of Lhe sLudy llke Lhls ls never Lhe ouLcome of Lhe
efforLs of a slngle person raLher lL bears Lhe lmprlnL of a number of
persons who dlrecLly or lndlrecLly helped us ln compleLlng Lhe
presenL sLudy We would be falllng ln our duLy lf we don'L say a word
of Lhanks Lo all Lhose whose slncere advlce made our documenLaLlon
of our pro[ecL a real educaLlve effecLlve pleasurable one

We wlsh Lo acknowledge our graLlLude Lo Mr 2ak|r nusse|n
(nCD of Informat|on 1echno|ogy Department) for Lhelr klnd
consenL for Lhls sLudy We have lmmense pleasure ln expresslng my
wholehearLed graLlLude Lo M|ss Shradha (ro[ecL gulde) for
provldlng help guldance of pro[ecL

CnANDkA kAkASn MLLNA
I108LSII1010



SYW

kLIACL

A necessary of an englneerlng ls semlnar presenLaLlon lL provldes an englneer
Lo galn Lechnlcal lnformaLlon ln Lhelr respecLlve flelds 1herby maklng hlm
aglle compeLenL 1he work and experlence galned Lhls presenLaLlon has
lncreased my pracLlcal knowledge manlfold
ln Lhls llmlLed space a brlef and comprehenslve accounL has been complled ln
llghL of recenL work and Lhe laLesL lnformaLlon avallable from varlous sources
1o presenL all Lhls exLenslve work and lnformaLlon ln slmple manner













SYW




IN1kCDUC1ICN





SYW
ACU1 CCLLLGL

Shankara lnsLlLuLe of 1echnology ls runnlng several courses ln Lnglneerlng
ManagemenL and 8Ld 1he ManagemenL efforLs are dlrecLed Lo prepare Lhe
englneerlng sLudenLs clLlzens of Lhe world 1hls alm ls Lo be fulfllled by
excellenL coordlnaLlon beLween managemenL and faculLy members 1he Sl1s
glganLlc campus spreadlng over 10 acres ls locaLed away from Lhe humdrum of
Lhe clLy on Lhe !alpur uelhl hlghway nP8 aL Lhe fooLhllls of Aravall range ln
8llCC lndusLrlal Area kukas provldlng a conduclve aLmosphere for learnlng
We have an lncampus hosLel faclllLy a wellsLocked llbrary advance compuLer
lab a gymnaslum sLaLlonery shop muslc room equlpped wlLh laLesL
elecLronlcally operaLed muslcal lnsLrumenLs cafeLerla sporLs cenLre eLc 1he
lnsLlLuLe has lL all for Lhe hollsLlc developmenL or Lhe sLudenLs faculLles
mlnd body psyche
Sl1 has Loday more Lhan 4000 sLudenLs wlLh almosL all lmporLanL branches
of englneerlng sub[ecL ln addlLlon Lo osL CraduaLe of M8A MCA 1he
sLudenLs ln our lnsLlLuLe are Lralned for concepLlon percepLlon and execuLlon
of baslc sclenLlflc knowledge Lo lmprove Lhe quallLy of llfe of comman man of
Lhe counLry 1hls ls done wlLhln and ouLslde Lhe classroom ln Lhe form of
cocurrlcular acLlvlLy








SYW






CNLINL S1UDLN1
kLGIS1kA1ICN
SS1LN




SYW%
CNLINL S1UDLN1 kLGIS1kA1ICN
SS1LM

1he Cnllne SLudenL 8eglsLraLlon SysLem ls an web based porLal developed ln
AS Cnllne 8eglsLraLlon sysLem wlll allow onllne submlsslon of sLudenL
appllcaLlon SLudenL 8eglsLraLlon erform CompuLer based qulz/LesL SLored
LesL resulLs modlfy sLudenL proflle Cnllne SLudenL 8eglsLraLlon SysLem ro[ecL
conslsLs of Lwo funcLlonal elemenLs an enhanced SLudenL module for
8eglsLraLlon LdlL roflle vlew 1esL hlsLory Change assword Cnllne 1esL/Culz
Module for SLarL LesL glve examlnaLlon calculaLe resulLs sLore LesL resulLs
manage quesLlon banks

AbsLracL
CurrenLly sLudenL submlLs hardcopy of fllled appllcaLlon form Lo Lhe
college/unlverslLy offlce sLaff enLers all daLa lnLo excel flle and wrlLe same ln
manual reglsLer lssue hall LlckeL / admlL card Lo sLudenL and conducL LesL for
sLudenL SLudenLs come Lo college and glve LesL for Lhe speclfled daLe Cfflce
sLaff check all Lhe paper calculaLe resulLs and Lype all Lhe deLalls for Laklng
prlnLouL and dlsplay lL ln college premlses College lnform sLudenL Lo check Lhe
resulL sLudenL comes Lo college and vlew Lhe resulLs

roposed onllne sLudenL reglsLraLlon sysLem wlll ellmlnaLe all Lhe manual
lnLervenLlon and lncrease Lhe speed of whole process SysLem wlll allow
sLudenL Lo flll Lhe form onllne sysLem has lnbullL valldaLlon sysLem Lo valldaLe
Lhe enLered daLa AfLer successful submlsslon sysLem wlll glve unlque
reglsLraLlon no for each sLudenL SLudenL can logln lnLo sysLem by uslng
reglsLraLlon no and glve onllne LesL SysLem wlll show Lhe resulL afLer lnsLanLly
and sLored Lhe resulLs for furLher use

SYW%
kCGkAMMING LANGUAGL USLD

L4N6u46
O n
O n1ML
O CSS
O IAVASCkI1

414845

O MSL







SYW



ACU1
LANGUAGL




SYW
n

n ls a generalpurpose scrlpLlng language orlglnally deslgned for web
developmenL Lo produce dynamlc web pageg lor Lhls purpose P code ls
embedded lnLo Lhe P1ML source documenL and lnLerpreLed by a web server
wlLh a P processor module whlch generaLes Lhe web page documenL lL also
has evolved Lo lnclude a commandllne lnLerface capablllLy and can be used ln
sLandalone graphlcal appllcaLlonsP can be deployed on mosL web servers
and as a sLandalone lnLerpreLer on almosL every operaLlng sysLem and
plaLform free of chargeA compeLlLor Lo MlcrosofLs AcLlve Server ages(AS)
serverslde scrlpL englne and slmllar languages P ls lnsLalled on more Lhan
20 mllllon webslLes and 1 mllllon web servers
Whlle P orlglnally sLood for ersonal Pome age lL ls now sald Lo sLand
for P PyperLexL reprocessor a recurslve acronym












SYW
P ls a serverslde scrlpLlng language

What |s n ?
O P sLands for P nyperLexL reprocessor
O P ls a serverslde scrlpLlng language llke AS
O P scrlpLs are execuLed on Lhe server
O P supporLs many daLabases (MySCL lnformlx Cracle Sybase Solld
osLgreSCL Cenerlc Cu8C eLc)
O P ls an open source sofLware
O P ls free Lo download and use

What |s a n I||e ?
O P flles can conLaln LexL P1ML Lags and scrlpLs
O P flles are reLurned Lo Lhe browser as plaln P1ML
O P flles have a flle exLenslon of php php3 or phLml

What |s MySL ?
O MySCL ls a daLabase server
O MySCL ls ldeal for boLh small and large appllcaLlons
O MySCL supporLs sLandard SCL
O MySCL complles on a number of plaLforms
O MySCL ls free Lo download and use

n + MySL
O P comblned wlLh MySCL are crossplaLform (you can develop ln
Wlndows and serve on a unlx plaLform)



SYW
Why n?
O P runs on dlfferenL plaLforms (Wlndows Llnux unlx eLc)
O P ls compaLlble wlLh almosL all servers used Loday (Apache llS eLc)
O P ls l8LL Lo download from Lhe offlclal P resource wwwphpneL
O P ls easy Lo learn and runs efflclenLly on Lhe server slde

Where to Start ?
1o geL access Lo a web server wlLh P supporL you can
O lnsLall Apache (or llS) on your own server lnsLall P and MySCL
O Cr flnd a web hosLlng plan wlLh P and MySCL supporL










SYW
n1ML

nyper1ext Markup Language (n1ML) ls Lhe predomlnanL markup language for
web pages P1ML elemenLs are Lhe baslc bulldlngblocks of webpages
P1ML ls wrlLLen ln Lhe form of P1ML elemenLs conslsLlng of toqs enclosed ln
angle brackeLs (llke hLml) wlLhln Lhe web page conLenL P1ML Lags mosL
commonly come ln palrs llke h1 and /h1 alLhough some Lags known as
empty elemeots are unpalred for example lmg 1he flrsL Lag ln a palr ls Lhe
stott toq Lhe second Lag ls Lhe eoJ toq (Lhey are also called opeoloq toqs and
closloq toqs) ln beLween Lhese Lags web deslgners can add LexL Lags
commenLs and oLher Lypes of LexLbased conLenL
1he purpose of a web browser ls Lo read P1ML documenLs and compose Lhem
lnLo vlslble or audlble web pages 1he browser does noL dlsplay Lhe P1ML Lags
buL uses Lhe Lags Lo lnLerpreL Lhe conLenL of Lhe page
P1ML elemenLs form Lhe bulldlng blocks of all webslLes P1ML allows lmages
and ob[ecLs Lo be embedded and can be used Lo creaLe lnLeracLlve forms lL
provldes a means Lo creaLe sLrucLured documenLs by denoLlng sLrucLural
semanLlcs for LexL such as headlngs paragraphs llsLs llnks quoLes and oLher
lLems lL can embed scrlpLs ln languages such as !avaScrlpL whlch affecL Lhe
behavlor of P1ML webpages
Web browsers can also refer Lo Cascadlng SLyle SheeLs (CSS) Lo deflne Lhe
appearance and layouL of LexL and oLher maLerlal 1he W3C malnLalner of
boLh Lhe P1ML and Lhe CSS sLandards encourages Lhe use of CSS over
expllclLly presenLaLlonal P1ML markup



SYW

nIS1Ck

P developmenL began ln 1994 when Lhe uanlsh/Creenlandlc programmer


8asmu Lerdorf lnlLlally creaLed a seL of erl scrlpLs he called ersonal Pome
age 1ools Lo malnLaln hls personal homepage 1he scrlpLs performed Lasks
such as dlsplaylng hls resume and recordlng hls webpage LrafflcLerdorf
lnlLlally announced Lhe release of P on Lhe
complnfosysLemswwwauLhorlngcgl useneL dlscusslon group on !une 8
1993
Zeev Suraskl and Andl CuLmans Lwo lsraell developers aL Lhe 1echnlon ll1
rewroLe Lhe parser ln 1997 and formed Lhe base of P 3 changlng Lhe
languages name Lo Lhe recurslve lnlLlallsm 99 ypettext
9teptocessotAfLerwards publlc LesLlng of P 3 began and Lhe offlclal launch
came ln !une 1998 Suraskl and CuLmans Lhen sLarLed a new rewrlLe of Ps
core produclng Lhe Zend Lnglne ln 19991hey also founded Zend 1echnologles
ln 8amaL Can lsrael
Many hlghproflle opensource pro[ecLs ceased Lo supporL P 4 ln new code
as of lebruary 3 2008 because of Lhe go P3 lnlLlaLlve provlded by a
consorLlum of P developers promoLlng Lhe LranslLlon from P 4 Lo P 3






SYW

USAGLS

P ls a generalpurpose scrlpLlng language LhaL ls especlally sulLed Lo server
slde web developmenL where P generally runs on a web server Any P
code ln a requesLed flle ls execuLed by Lhe P runLlme usually Lo creaLe
dynamlc web page conLenL or dynamlc lmages used on web slLes or elsewhere
lL can also be used for commandllne scrlpLlng and cllenLslde Cul appllcaLlons
P can be deployed on mosL web servers many operaLlng sysLems and
plaLforms and can be used wlLh many relaLlonal daLabase managemenL
sysLems (8u8MS) lL ls avallable free of charge and Lhe P Croup provldes
Lhe compleLe source code for users Lo bulld cusLomlze and exLend for Lhelr
own use
Crlglnally deslgned Lo creaLe dynamlc web pages P now focuses malnly
on serverslde scrlpLlng and lL ls slmllar Lo oLher serverslde scrlpLlng
languages LhaL provlde dynamlc conLenL from a web server Lo a cllenL such as
MlcrosofLs AspneL Sun MlcrosysLems !avaServer ages and mod_perl P
has also aLLracLed Lhe developmenL of many frameworks LhaL provlde bulldlng
blocks and a deslgn sLrucLure Lo promoLe rapld appllcaLlon developmenL (8Au)
Some of Lhese lnclude CakeP Symfony CodelgnlLer and Zend lramework
offerlng feaLures slmllar Lo oLher web appllcaLlon frameworks
1he LAM archlLecLure has become popular ln Lhe web lndusLry as a way of
deploylng web appllcaLlons P ls commonly used as Lhe 9 ln Lhls bundle
alongslde Llnux Apache and MySCL alLhough Lhe 9 may also refer Lo yLhon
or erl or some comblnaLlon of Lhe Lhree WAM packages (Wlndows/
Apache/ MySCL / P) and MAM packages (Mac CS x / Apache / MySCL /
P) are also avallable also LAM (Llnux / Apache / MySCL / P)


SYW
MSL

MySCL ls Lhe worlds mosL popular open source daLabase sofLware wlLh over
100 mllllon coples of lLs sofLware downloaded or dlsLrlbuLed LhroughouL lLs
hlsLory WlLh lLs superlor speed rellablllLy and ease of use MySCL has
become Lhe preferred cholce for Web Web 20 SaaS lSv 1elecom companles
and forwardLhlnklng corporaLe l1 Managers because lL ellmlnaLes Lhe ma[or
problems assoclaLed wlLh downLlme malnLenance and admlnlsLraLlon for
modern onllne appllcaLlons
Many of Lhe worlds largesL and fasLesLgrowlng organlzaLlons use MySCL Lo
save Llme and money powerlng Lhelr hlghvolume Web slLes crlLlcal buslness
sysLems and packaged sofLware lncludlng lndusLry leaders such as ?ahoo!
AlcaLelLucenL Coogle nokla ?ou1ube Wlklpedla and 8ooklngcom
1he flagshlp MySCL offerlng ls MySCL LnLerprlse a comprehenslve seL of
producLlonLesLed sofLware proacLlve monlLorlng Lools and premlum supporL
servlces avallable ln an affordable annual subscrlpLlon
MySCL ls a key parL of LAM (Llnux Apache MySCL P / erl / yLhon) Lhe
fasLgrowlng open source enLerprlse sofLware sLack More and more
companles are uslng LAM as an alLernaLlve Lo expenslve proprleLary sofLware
sLacks because of lLs lower cosL and freedom from plaLform lockln
MySCL was orlglnally founded and developed ln Sweden by Lwo Swedes and a
llnn uavld Axmark Allan Larsson and Mlchael MonLy Wldenlus who had
worked LogeLher slnce Lhe 1980s More hlsLorlcal lnformaLlon on MySCL ls
avallable on Wlklpedla
Cur ConLlnued MySCL values
We wanL Lhe MySCL daLabase Lo be
O 1he besL and Lhe mosLused daLabase ln Lhe world for onllne
appllcaLlons
O Avallable and affordable for all
O Lasy Lo use
O ConLlnuously lmproved whlle remalnlng fasL secure and rellable
SYW%
O lun Lo use and lmprove
O lree from bugs

We wanL Lhe people worklng on MySCL Lo
O Subscrlbe Lo Lhe Cpen Source phllosophy
O Alm Lo be good clLlzens
O refer parLners LhaL share our values and mlndseL
O Answer emall and glve asslsLance Lo users cusLomers parLners and co
workers
O 8e a vlrLual organlzaLlon neLworklng wlLh oLhers
lf you wanL Lo know more or have a requesL or proposal for us please vlslL our
conLacLs page Lo learn how Lo besL reach us








SYW%
kLUIkMLN1S

4kJ4k

O C w|th a pent|um 233Mnz processorent|um III recommended
O 64 M of kAM
O 100 M of ava||ab|e hardd|sk space for fu|| |nsta||at|on
O M|crosoft mousekeyboard and d|sp|ay dev|ce


5Ol1J4k

O 1he system w||| run under W|ndows 98 or |ater operat|ng system
O Macromed|a Dreamwear
O Wamp Server
O MSL shou|d be |nsta||ed for database




SYW
ILSLIL1 1LS1ING

AfLer golng Lhrough Lhls lesson you should be able Lo
- ConducL a feaslblllLy analysls of Lhe proposed buslness ldeas ln regard Lo
MarkeLablllLy 1echnlcal vlablllLy lundlng LegallLles
- repare a buslness plan
- undersLand baslc sLarLup problems

9kOlc1 l45l8lLl1Y 51uY

leaslblllLy llLerally means wheLher some ldea wlll work or noL lL knows before
hand wheLher Lhere exlsLs a slzeable markeL for Lhe proposed producL/servlce
whaL would be Lhe lnvesLmenL requlremenLs and where Lo geL Lhe fundlng
from wheLher and wherefrom Lhe necessary Lechnlcal knowhow Lo converL
Lhe ldea lnLo a Langlble producL may be avallable and so on ln oLher words
feaslblllLy sLudy lnvolves an examlnaLlon of Lhe operaLlons flnanclal P8 and
markeLlng aspecLs of a buslness on exanLe (8efore Lhe venLure comes lnLo
exlsLence) basls 1hus you may slmulLaneously read Lhls lesson and Lhe lessons
on markeLlng flnance eLc Lo have a beLLer ldea of Lhe lssues lnvolved WhaL
we presenL hereunder ls a brlef ouLllne of Lhe lssues lmplnglng upon Lhe
varlous aspecLs of Lhe feaslblllLy of Lhe proposed pro[ecL 8y now you would
have undersLood LhaL feaslblllLy ls a mulLlvarlaLe concepL LhaL ls a pro[ecL has
Lo be vlable noL only ln Lechnlcal Lerms buL also ln economlc and commerclal
Lerms Loo Moreover Lhere always ls a posslblllLy LhaL a pro[ecL LhaL ls
Lechnlcally posslble may noL be economlcally vlable lor lnsLance you can
consLrucL a dusL free facLory ln 8a[asLhan buL lL ls more economlcally senslble
Lo do so ln Chandlgarh/ 8angalore So even as we Lake up Lhe varlous aspecLs
of feaslblllLy onebyone lL musL noL mlslead lnLo bellevlng LhaL Lhere ls a
sequence and LhaL Lhere are nolnLerdependenclesLxamlnaLlon of Lhe
feaslblllLy requlres skllls LhaL you may fall shorL of ?ou may Lake Lhe help of
Lhe 1echnlcal ConsulLancy CrganlsaLlons (1CCs) such as PA8ulCCn (Paryana
uelhl lndusLrlal ConsulLancy CrganlsaLlon) Lowards Lhls purpose 1here are
dlsLrlcLwlse lndusLrlal poLenLlal surveys avallable wlLh Lhe SlSls and ulCs LhaL
may serve as a good sLarLlng polnL ?ou may also make use of Lhe ro[ecL
8eporLs publlshed by Lhe dlrecLoraLe of lndusLrles and prlvaLe consulLlng flrms
Cbvlously as you use Lhese offLhe shelf pro[ecL reporLs you need Lo re
valldaLe Lhelr assumpLlons and flndlngs and reslsL Lhe LempLaLlon of [ump
sLarLlng WheLher you use Lhe already publlshed pro[ecL reporLs or wlsh Lo
SYW
sLarL afresh you need Lo examlne all Lhe faceLs of Lhe feaslblllLy of Lhe
proposed pro[ecL ldea vlz markeLlng Lechnlcal flnanclal economlc and legal

,4kk1 4N4LY5l5

A markeL wheLher a place or noL ls Lhe arena for lnLeracLlon among buyers
and sellerslrom seller's polnL of vlew markeL analysls ls prlmarlly concerned
wlLh Lhe aggregaLe demand of Lhe proposed producL/servlce ln fuLure and Lhe
markeL share expecLed Lo be capLured Success of Lhe proposed pro[ecL clearly
hlnges on Lhe conLlnulng supporL of Lhe cusLomers Powever lL ls very dlfflculL
Lo ldenLlfy Lhe markeL for one's producL/servlce AfLer all Lhe whole unlverse
cannoL be your markeL ?ou have Lo carefully segmenL Lhe markeL accordlng Lo
some crlLerla such as geographlc scope demographlc and psychologlcal proflle
of Lhe poLenLlal cusLomers eLc lL ls a sLudy of knowlng who all comprlse your
cusLomers for Lhls you requlre lnformaLlon on
ConsumpLlon Lrends
asL and presenL supply poslLlon
roducLlon posslblllLles and consLralnLs
lmporLs and LxporLS CompeLlLlon
CosL sLrucLure
LlasLlclLy of demand
Consumer behavlour lnLenLlons moLlvaLlons aLLlLudes preferences and
requlremenLs
ulsLrlbuLlon channels and markeLlng pollcles ln use
AdmlnlsLraLlve Lechnlcal and legal consLralnLs lmplnglng on Lhe markeLlng
of Lhe producL

llN4Ncl4L 4N4LY5l5

1he ob[ecLlve of flnanclal analysls ls Lo ascerLaln wheLher Lhe proposed pro[ecL
wlll be flnanclally vlable ln Lhe sense of belng able Lo meeL Lhe burden of
servlclng debL and wheLher Lhe proposed pro[ecL wlll saLlsfy Lhe reLurn
expecLaLlons of Lhose who provlde Lhe caplLal Whlle conducLlng a flnanclal
appralsal cerLaln aspecLs has Lo be looked lnLo llke
lnvesLmenL ouLlay and cosL of pro[ecL
Means of flnanclng
ro[ecLed proflLablllLy
8reak even polnL
Cash flows of Lhe pro[ecL
lnvesLmenL worLhlness [udged ln Lerms of varlous crlLerla of merlL
SYW
ro[ecLed flnanclal poslLlon

1cNlc4L 4N4LY5l5

1he lssues lnvolved ln Lhe assessmenL of Lechnlcal analysls of Lhe proposed
pro[ecL may be classlfled lnLo Lhose perLalnlng Lo lnpuLs LhroughpuLs and
ouLpuLs

- lnpuL Analysls lnpuL analysls ls malnly concerned wlLh Lhe ldenLlflcaLlon
quanLlflcaLlon and evaluaLlon of pro[ecL lnpuLs LhaL ls machlnery and
maLerlals ?ou have Lo ensure LhaL Lhe rlghL klnd and quallLy of lnpuLs would be
avallable aL Lhe rlghL Llme and cosL LhroughouL Lhe llfe of Lhe pro[ecL ?ou have
Lo enLer lnLo longLerm conLracLs wlLh Lhe poLenLlal suppllers ln many cases
you have Lo culLlvaLe your supply sources When Macdonald enLered lndla
Lhey developed susLalnable sources of supply of poLaLoes leLLuce and oLher
lngredlenLs for Lhelr burgers 1he acLlvlLles lnvolved ln developlng and
reLalnlng supply sources are referred Lo as supply chaln managemenL

- 1hroughpuL Analysls lL refers Lo Lhe producLlon/operaLlons LhaL you would
perform on Lhe lnpuLs Lo add value usually Lhe lnpuLs recelved would
undergo a process of LransformaLlon ln several sLages of manufacLure Where
Lo locaLe Lhe faclllLy whaL would be Lhe sequence whaL would be Lhe layouL
whaL would be Lhe quallLy conLrol measures eLc are Lhe lssues LhaL you would
learn ln greaLer deLalls ln subsequenL lessons

- CuLpuL Analysls Lhls lnvolves producL speclflcaLlon ln Lerms of physlcal
feaLures colour welghL lengLh breadLh helghL funcLlonal feaLures
chemlcalmaLerlal properLles as well as sLandards Lo be complled wlLh such as
8lS lSl and lSC eLc

cONO,lc 4N4LY5l5

Lconomlcs ls Lhe sLudy of cosLs and beneflLs ln regard Lo Lhe feaslblllLy of Lhe
sLudy Lhe enLrepreneur ls concerned wheLher Lhe caplLal cosL as well as Lhe
cosL of Lhe producL ls [usLlflable vlsvls Lhe prlce aL whlch lL wlll sell aL Lhe
markeL place lor example Lechnlcally sllver can be exLracLed from sllver
bromlde (a chemlcal used for processlng Lhe xray and phoLo fllms) buL Lhe
cosL of exLracLlon ls so hlgh LhaL lL would noL be economlcally feaslble Lo do so
Llkewlse unLll recenLly cosL of harnesslng solar power was prohlblLlvely hlgh
1hls cosLbeneflL analysls goes lnLo flnanclal calculaLlons for proflLablllLy
SYW
analysls LhaL we dlscussed under flnanclal analysls AL Lhls sLage lL ls also useful
Lo dlsLlngulsh beLween Lhe economlc and commerclal feaslblllLy whereas
economlc feaslblllLy leads one Lo Lhe unlL cosL of Lhe producL commerclal
feaslblllLy lnforms wheLher enough unlLs would sell AparL from Lhe cosL
beneflL analysls as above whlch we also refer Lo as prlvaLe cosLbeneflL
analysls lL ls also useful Lo do whaL ls known as soclal cosLbeneflL analysls
(SC8A) lor example Lhe enLrepreneur may be geLLlng subsldlzed elecLrlclLy ln
whlch case prlvaLe cosL would be less Lhan soclal cosL Llkewlse exporLlng unlLs
earn preclous forelgn exchange resulLlng lnLo soclal beneflLs belng more Lhan
prlvaLe earnlngs Many a Llme a pro[ecL LhaL ls worLhy on SC8A may flnd
greaLer favour wlLhLhe supporL agencles

cOLO6lc4L 4N4LY5l5

ln recenL years envlronmenLal concerns have assumed a greaL deal of
slgnlflcance especlally for pro[ecLs whlch have slgnlflcanL ecologlcal
lmpllcaLlons llke power planLs and lrrlgaLlon schemes and for envlronmenL
polluLlng lndusLrles (llke bulk drugs chemlcals and leaLher processlng) 1he
concerns LhaL are usually addressed lnclude Lhe followlng

WhaL ls Lhe llkely damage caused by Lhe pro[ecL Lo Lhe envlronmenL?
WhaL ls Lhe cosL of resLoraLlon measures requlred Lo ensure LhaL Lhe damage
Lo Lhe envlronmenL ls conLalned wlLhln accepLable llmlLs? Check your progress
MaLch Lhe followlng

lssues 1ype of Analysls

1 AvallablllLy of know how wlLh Lhe enLrepreneur Lconomlc
Cr Lo be procured
2 AblllLy Lo meeL Lhe burden of servlclng debL 1echnlcal
3 1he lmpacL of Lhe pro[ecL on Lhe level of Lcologlcal
soclal cosLsbeneflLs
3 ldenLlflcaLlon quanLlflcaLlon and evaluaLlon llnanclal
of pro[ecL lnpuLs
6 Llkely damage caused by Lhe pro[ecL Lo Lhe lnpuL
envlronmenL




SYW
L64L 4N 4,lNl51k41lv

1hlnk of Lhe pllghL of Lhe enLrepreneur who worked on Lhe ldea of a laundry Lo
caLer Lo hoLels and hosplLals flnds lL emlnenLly feaslble only Lo learn
subsequenLly LhaL 'laundry' does noL flgure as an lndusLry wlLhln Lhe
admlnlsLraLlve deflnlLlon of SSl as appllcable on LhaL daLe AnoLher
enLrepreneur ln kalyanl (WesL 8engal) developed an Ayurvedlc preparaLlon
only Lo flnd LhaL Lhe offlce of ulC dld noL have an experL Lo valldaLe Lhe pro[ecL
Lhe producL had Lo be markeLed as a confecLlonary lLem! WhaL ls lmplled from
Lhese examples ls LhaL Lhe enLrepreneur has Lo be sure also of Lhe
admlnlsLraLlve and legal lssues lnvolved ln Lhe pro[ecL 1hese lnclude cholce of
Lhe form of buslness organlsaLlon reglsLraLlon and clearances and approvals
from Lhe dlverse auLhorlLles

lorms of CrganlsaLlon

Sole roprleLor AL Lhe Llme of sLarLup Lhe enLrepreneur usually has Lo handle
all funcLlonal responsl blllLles of Lhe venLure and handles producLlon
markeLlng personnel flnance hlmself As a resulL Lhe vasL ma[orlLy of new
buslnesses sLarL as sole proprleLors 1hls form has Lhe added merlL of belng
free from formallLles regardlng lncorporaLlon or malnLenance of accounLs or
audlLlng eLc arLnershlp As Lhe buslness grows Lhe requlremenLs for funds
and managemenL wlll also lncrease whlch mlghL lead hlm Lo enLer lnLo
parLnershlp wlLh one or more persons lL ls always preferable Lo have a wrlLLen
agreemenL ln Lhe form of a parLnershlp deed whlch clearly lndlcaLes Lhe names
and addresses of Lhe parLners Lhelr ages conLrlbuLlon Lo caplLal proflL sharlng
raLlo eLc 1hls form also makes for poollng of skllls and responslblllLles and
spread of rlsk Company A company can be a prlvaLe llmlLed company ln
whlch case lL can have a mlnlmum of 2 and a maxlmum of 30 members lL can
be a publlc llmlLed company whlch has Lo have a mlnlmum of 7 members and
Lhere ls no maxlmum llmlL 1hls form of organlsaLlon provldes vasL amounLs of
caplLal as Lhey unllke Lhe prlvaLe llmlLed company lnvlLe Lhe general publlc Lo
subscrlbe Lo lLs shares and also provlde llmlLed llablllLy 1he Companles AcL of
1936 governs Lhe companles CooperaLlve A cooperaLlve ls an enLerprlse
owned and conLrolled by people worklng ln lL Cenerally Lhey are formed for
some speclflc purpose llke a houslng cooperaLlve socleLy Clearances and
Approvals SeLLlng up of an lndusLrlal unlL requlres Lhe enLrepreneur Lo obLaln
a number of clearances and approvals regardlng land use polluLlon conLrol and
safeLy ln Lhls regard you would be requlred Lo lnLeracL wlLh Lhe local
governmenL auLhorlLles such as Lhe munlclpallLles/ vlllage panchayaLs and
SYW
sLaLe polluLlon conLrol boards ln case you wlsh Lo avall Lhe lncenLlves accrulng
Lo Lhe flrms reglsLered under LxporL rocesslng Zone/Speclal Lconomlc Zone
(SLZ) SofLware 1echnology ark (S1) or 100 LxporL CrlenLed unlL you
would be requlred Lo reglsLer as such 8esldes cerLaln producLs may requlre
speclflc clearances from Lhe relevanL deparLmenLs/auLhorlLles 8ox enLlLled
'roducLSpeclflc Clearances' lllusLraLes a few examples of Lhe necessary
clearances and approvals vlsvls speclflc producLs








SYW


DLGIGNING
CI
kCILC1




SYW

|ndexhtm|






SYW%
reg|sterformphp










SYW%
ma|n_|og|nphp






SYW
I||e_up|oadphp



up|oadphp









SYW
v|ewphp











SYW
ed|tphp








SYW
check_|og|nphp








SYW
ca|endarphp
s|temaphtm|


SYW
adm|n|stratorphp
|ogoutphp




SYW
CCDING
lNx99

?php
|f (|sset ( 5_CS1 username ))

5password 5_CS1 password
5username 5_CS1 username
5myusernameA chandra 5mypasswordA 17790 5mysecretf||eA
v|ewphp

|f (5password 5mypasswordA 5username 5myusernameA)

header
( Locat|on 5mysecretf||eA )
ex|t ()


?
htm|
head
$head
bodyh1Adm|n|strator Log|n$h1
form act|on methodpostbr
pUsername |nput nameusername typetext s|ze10 brbr
SYW
assword |nput namepassword typepassword s|ze10$pbr
p|nput nameSubm|t typesubm|t va|ueSubm|t$p$form$body
$htm|

c4LN4k99

br
?php
5monthNames Array(Ianuary Iebruary March Apr|| May Iune Iu|y
August September Cctober November December)
?
?php
|f (!|sset(5_kLULS1month)) 5_kLULS1month date(n)
|f (!|sset(5_kLULS1year)) 5_kLULS1year date()
?
?php
5cMonth 5_kLULS1month
5cear 5_kLULS1year
5prev_year 5cear
5next_year 5cear
5prev_month 5cMonth1
5next_month 5cMonth+1

|f (5prev_month 0 )
5prev_month 12
5prev_year 5cear 1
SYW%

|f (5next_month 13 )
5next_month 1
5next_year 5cear + 1

?
tab|e w|dth200
tr a||gncenter
td bgco|or#|ue sty|eco|or#IIIIII
tab|e w|dth100 border0 ce||spac|ng0 ce||padd|ng0
tr
td w|dthS0 a||gn|eftnbspnbspa href?php echo 5_SLkVLkn_SLLI
?month 5prev_month year 5prev_year ?
sty|eco|or#IIIIIIrev|ous$a$td
td w|dthS0 a||gnr|ghta href?php echo 5_SLkVLkn_SLLI ?month
5next_month year 5next_year ?
sty|eco|or#IIIIIINext$anbspnbsp$td
$tr
$tab|e
$td
$tr
tr
td a||gncenter
tab|e w|dth100 border0 ce||padd|ng2 ce||spac|ng2
tr a||gncenter
td co|span7 bgco|or#999999 sty|eco|or#IIIIIIstrong?php echo
5monthNames5cMonth1 5cear ?$strong$td
$tr
SYW%
tr
td a||gncenter bgco|or#b|ue sty|eco|or#|uestrongS$strong$td
td a||gncenter bgco|or#999999 sty|eco|or#IIIIIIstrongM$strong$td
td a||gncenter bgco|or#999999 sty|eco|or#IIIIIIstrong1$strong$td
td a||gncenter bgco|or#999999 sty|eco|or#IIIIIIstrongW$strong$td
td a||gncenter bgco|or#999999 sty|eco|or#IIIIIIstrong1$strong$td
td a||gncenter bgco|or#999999 sty|eco|or#IIIIIIstrongI$strong$td
td a||gncenter bgco|or#999999 sty|eco|or#IIIIIIstrongS$strong$td
$tr
?php
5t|mestamp mkt|me(0005cMonth15cear)
5maxday date(t5t|mestamp)
5th|smonth getdate (5t|mestamp)
5startday 5th|smonthwday
for (5|0 5|(5maxday+5startday) 5|++)
|f((5| 7) 0 ) echo trn
|f(5| 5startday) echo td$tdn
e|se echo td a||gncenter va||gnm|dd|e he|ght20px (5| 5startday + 1)
$tdn
|f((5| 7) 6 ) echo $trn

?
$tab|e
$td$tr
$tab|ebr
ha href|ndexhtm|nCML AGL$a$h
SYW
cck_LO6lN99
?php
5host|oca|host $$ nost name
5usernameroot $$ Mysq| username
5password $$ Mysq| password
5db_nametest $$ Database name
5tb|_name|og|n1 $$ 1ab|e name

$$ Connect to server and se|ect database
mysq|_connect(5host 5username 5password)or d|e(cannot
connect)mysq|_se|ect_db(5db_name)or d|e(cannot se|ect D)

$$ username and password sent from form
5myusername5_CS1myusername
5mypassword5_CS1mypassword

$$ 1o protect MySL |n[ect|on (more deta|| about MySL |n[ect|on)
5myusername str|ps|ashes(5myusername)
5mypassword str|ps|ashes(5mypassword)
5myusername mysq|_rea|_escape_str|ng(5myusername)
5mypassword mysq|_rea|_escape_str|ng(5mypassword)

$$fetch|ng data |n descend|ng order (|astest entry f|rst)
5resu|tmysq|_query(SLLLC1 * IkCM |og|n1 WnLkL username 5myusername AND
password 5mypassword )
?
htm|
SYW
t|t|enomepage$t|t|e
body bgco|or#99CCIIbr

?php
wh||e(5resmysq|_fetch_array(5resu|t))

echo We|come Mr td5resI|rstname$tdbr
echobrmarqueeWe|come to the Shankara Group of Inst|tutes
echo $marqueebrbr
echo tab|e w|dth80 border0
echo tr bgco|or#339911
echo Name 5resI|rstname 5resM|dd|ename 5resSurname
echo brIathers Name 5resIathername
echo brMothers Name 5resMothername
echo brDC 5resDC
echo brLma|| 5resLma||
echo brhone 5reshone
echo brSex 5resSex
echo brAddress 5resAddress
echo brua||f|cat|on 5resua||f|cat|on
echo brD|v|s|on 5resD|v|s|on
echo brCourse 5resCourse
echo brState 5resState
echo brNat|ona||ty 5resNat|ona||ty
echo $tr
echo bra href|ogoutphpLogout$a
SYW
echo a href|ndexhtm|nome$a

echo $tab|e
?
$body
$htm|

cONll699

?php
5conn mysq|_connect(|oca|hostroot)
or d|e(cannot connected)
Qmysq|_se|ect_db(test5conn)
?

cON14c151,L

head
t|t|eContacts$t|t|e
$headbody bgco|or#6699CC

brbCCN1AC1SbrbrChandra rakash
MeenabrMob||e9680807881brLma||cpms|ngha|Qgma||com$tdtd
sty|epadd|ng|eft20px

$td$tr$tab|ebrbrbrbrbr
ha href|ndexhtm|nome$a$h$body
SYW
L199
?php
$$|nc|ud|ng the database connect|on f||e
|nc|ude(conf|gphp)

$$gett|ng |d of the data from ur|
5|d 5_GL1|d

$$de|et|ng the row from tab|e
5resu|tmysq|_query(DLLL1L IkCM |og|n1 where |d5|d)

$$red|rect|ng to the d|sp|ay page (|ndexphp |n our case)
header(Locat|onv|ewphp)
?

l199
?php
$$|nc|ud|ng the database connect|on f||e
|nc|ude_once(conf|gphp)

|f(|sset(5_CS1update))

$$here the |d that we post |s the same |d that we get from ur|
$$|d |nd|cates the |d of th|s data wh|ch we are ed|t|ng
$$|d |s un|que and a part|cu|ar |d |s assoc|ated w|th part|cu|ar data
5|d 5_CS1|d
SYW
5username5_CS1username
5password5_CS1password
5surname5_CS1surname
5f|rstname5_CS1f|rstname
5m|dd|ename5_CS1m|dd|ename
5fathername5_CS1fname
5mothername5_CS1mname
5dob5_CS1dob
5ema||5_CS1ema||
5phone5_CS1phone
5sex5_CS1sex
5address5_CS1address
5qua||f|cat|on5_CS1qua||f|cat|on
5d|v|s|on5_CS1d|v|s|on
5course5_CS1course
5state5_CS1state
5nat|ona||ty5_CS1nat|ona||ty

$$ check|ng empty f|e|ds
|f(empty(5username) || empty(5password)|| empty(5surname)||
empty(5f|rstname)|| empty(5m|dd|ename)|| empty(5fathername) ||
empty(5mothername)|| empty(5dob)|| empty(5ema||)|| empty(5phone)||
empty(5sex)|| empty(5address)|| empty(5qua||f|cat|on)|| empty(5d|v|s|on)||
empty(5course)|| empty(5state)|| empty(5nat|ona||ty))

$$|f username f|e|d |s empty
|f(empty(5username))
SYW

echo font co|orredusername f|e|d |s empty$fontbr$

$$|f password f|e|d |s empty
|f(empty(5password))

echo font co|orredpassword f|e|d |s empty$fontbr$

$$|f surname f|e|d |s empty
|f(empty(5surname))

echo font co|orredSurname f|e|d |s empty$fontbr$

$$|f f|rstname f|e|d |s empty
|f(empty(5f|rstname))

echo font co|orredI|rstname f|e|d |s empty$fontbr$

$$|f m|dd|ename f|e|d |s empty
|f(empty(5m|dd|ename))

echo font co|orredM|dd|ename f|e|d |s empty$fontbr$

$$|f fathername f|e|d |s empty
|f(empty(5fname))

SYW
echo font co|orredIathername f|e|d |s empty$fontbr$

$$|f mothername f|e|d |s empty
|f(empty(5mname))

echo font co|orredMothername f|e|d |s empty$fontbr$

$$|f DC f|e|d |s empty
|f(empty(5dob))

echo font co|orredDC f|e|d |s empty$fontbr$

$$|f Lma|| f|e|d |s empty
|f(empty(5ema||))

echo font co|orredLma|| f|e|d |s empty$fontbr$

$$|f hone f|e|d |s empty
|f(empty(5phone))

echo font co|orredhone f|e|d |s empty$fontbr$

$$|f sex f|e|d |s empty
|f(empty(5sex))

echo font co|orredSex f|e|d |s empty$fontbr$
SYW

$$|f address f|e|d |s empty
|f(empty(5address))

echo font co|orredAddress f|e|d |s empty$fontbr$

$$|f qua||f|cat|on f|e|d |s empty
|f(empty(5qua||f|cat|on))

echo font co|orredua||f|cat|on f|e|d |s empty$fontbr$

$$|f d|v|s|on f|e|d |s empty
|f(empty(5d|v|s|on))

echo font co|orredD|v|s|on f|e|d |s empty$fontbr$

$$|f course f|e|d |s empty
|f(empty(5course))

echo font co|orredCourse f|e|d |s empty$fontbr$

$$|f state f|e|d |s empty
|f(empty(5state))

echo font co|orredState f|e|d |s empty$fontbr$

SYW%
$$|f nat|ona||ty f|e|d |s empty
|f(empty(5nat|ona||ty))

echo font co|orredNat|ona||ty f|e|d |s empty$fontbr$


e|se

$$updat|ng the tab|e
5resu|tmysq|_query(UDA1L |og|n1 SL1
username5usernamepassword5passwordSurname5surnameI|rstname5f|rstna
meM|dd|ename5m|dd|enameIathername5fathernameMothername5mothernam
eDC5dobLma||5ema||Sex5sexhone5phoneAddress5addressua||f|cat|o
n5qua||f|cat|onD|v|s|on5d|v|s|onCourse5courseState5stateNat|ona||ty5nat|on
a||tyWnLkL |d5|d)

$$red|rect|g to the d|sp|ay page In our case |t |s |ndexphp
header(Locat|on v|ewphp)


?
?php
$$for d|sp|ay|ng data of th|s part|cu|ar data

$$gett|ng |d from ur|
5|d 5_GL1|d

$$se|ect|ng data assoc|ated w|th th|s part|cu|ar |d
SYW%
5resu|tmysq|_query(se|ect * from |og|n1 where |d5|d)

wh||e(5resmysq|_fetch_array(5resu|t))

5username 5resusername
5password 5respassword
5surname 5resSurname
5f|rstname 5resI|rstname
5m|dd|ename 5resM|dd|ename
5fathername 5resIathername
5mothername 5resMothername
5dob 5resDC
5ema|| 5resLma||
5phone 5reshone
5sex 5resSex
5address 5resAddress
5qua||f|cat|on 5resua||f|cat|on
5d|v|s|on 5resD|v|s|on
5course 5resCourse
5state 5resState
5nat|ona||ty 5resNat|ona||ty

?
htm|
t|t|eLd|t Data$t|t|e
body
SYW
a href|ndexhtm|nome$a
br$br$
form nameform1 methodpost act|oned|tphp
tab|e border0
tr
tdusername$td
td
|nput typetext nameusername va|ue
?php
echo 5username
?

$td
$tr
tr
tdpassword$td
td
|nput typetext namepassword va|ue?php echo 5password?
$td
$tr
tr
tdSurname$td
td
|nput typetext namesurname va|ue?php echo 5surname ?
$td
$tr
SYW
tr
tdI|rstname$td
td
|nput typetext namef|rstname va|ue?php echo 5f|rstname?
$td
$tr
tr
tdM|dd|ename$td
td
|nput typetext namem|dd|ename va|ue?php echo 5m|dd|ename ?
$td
$tr
tr
tdIathername$td
td
|nput typetext namefname va|ue?php echo 5fathername?
$td
$tr
tr
tdMothername$td
td
|nput typetext namemname va|ue?php echo 5mothername ?
$td
$tr
tr
tdDC$td
SYW
td
|nput typetext namedob va|ue?php echo 5dob?
$td
$tr
tr
tdLma||$td
td
|nput typetext nameema|| va|ue?php echo 5ema|| ?
$td
$tr
tr
tdhone$td
td
|nput typetext namephone va|ue?php echo 5phone?
$td
$tr
tr
tdSex$td
td
|nput typetext namesex va|ue?php echo 5sex ?
$td
$tr
tr
tdAddress$td
td
|nput typetext nameaddress va|ue?php echo 5address?
SYW
$td
$tr
tr
tdua||f|cat|on$td
td
|nput typetext namequa||f|cat|on va|ue?php echo 5qua||f|cat|on ?
$td
$tr
tr
tdD|v|s|on$td
td
|nput typetext named|v|s|on va|ue?php echo 5d|v|s|on?
$td
$tr
tr
tdCourse$td
td
|nput typetext namecourse va|ue?php echo 5course?
$td
$tr
tr
tdState$td
td
|nput typetext namestate va|ue?php echo 5state?
$td
$tr
SYW
tr
tdNat|ona||ty$td
td
|nput typetext namenat|ona||ty va|ue?php echo 5nat|ona||ty?
$td
$tr
tr
td|nput typeh|dden name|d va|ue?php echo 5_GL1|d? $td
td|nput typesubm|t nameupdate va|ueUpdate$td
$tr
$tab|e
$form
$body
$htm|

l,46_5Ll5OJ1,L
htm|
head
t|t|eImage s||deshow$t|t|e
||nk re|sty|esheet href|mages||deshowcss typetext$css
scr|pt typetext$[avascr|pt src|mages||deshow[s
$scr|pt
$head
body
d|v |ddhtm|good|es_s||deshow
d|v |dprev|ewane
SYW
|mg src|mages$|mage1_b|g[pg
span |dwa|tMessageLoad|ng |mage |ease wa|t$span
d|v |d|argeImageCapt|on1h|s |s the capt|on of |mage number 1$d|v
$d|v
d|v |dga||eryConta|ner
d|v |darrow_|eft|mg src|mages$arrow_|eftg|f$d|v
d|v |darrow_r|ght|mg src|mages$arrow_r|ghtg|f$d|v
d|v |dtheImages
! 1humbna||s
a href#
onC||ckshowrev|ew(|mages$|mage1_b|g[pg1)return fa|se|mg
src|mages$|mage1[pg$a
a href#
onC||ckshowrev|ew(|mages$|mage2_b|g[pg2)return fa|se|mg
src|mages$|mage2[pg$a
a href#
onC||ckshowrev|ew(|mages$|mage3_b|g[pg3)return fa|se|mg
src|mages$|mage3[pg$a
a href#
onC||ckshowrev|ew(|mages$|mage4_b|g[pg4)return fa|se|mg
src|mages$|mage4[pg$a
a href#
onC||ckshowrev|ew(|mages$|mageS_b|g[pgS)return fa|se|mg
src|mages$|mageS[pg$a
a href#
onC||ckshowrev|ew(|mages$|mage6_b|g[pg6)return fa|se|mg
src|mages$|mage6[pg$a
a href#
onC||ckshowrev|ew(|mages$|mage7_b|g[pg7)return fa|se|mg
src|mages$|mage7[pg$a
SYW
a href#
onC||ckshowrev|ew(|mages$|mage8_b|g[pg8)return fa|se|mg
src|mages$|mage8[pg$a
! Lnd thumbna||s

! Image capt|ons
d|v c|ass|mageCapt|on1h|s |s the capt|on of |mage
number 1$d|v
d|v c|ass|mageCapt|on1h|s |s the capt|on of |mage
number 2$d|v
d|v c|ass|mageCapt|on1h|s |s the capt|on of |mage
number 3$d|v
d|v c|ass|mageCapt|on1h|s |s the capt|on of |mage
number 4$d|v
d|v c|ass|mageCapt|on1h|s |s the capt|on of |mage
number S$d|v
d|v c|ass|mageCapt|on1h|s |s the capt|on of |mage
number 6$d|v
d|v c|ass|mageCapt|on1h|s |s the capt|on of |mage
number 7$d|v
d|v c|ass|mageCapt|on1h|s |s the capt|on of |mage
number 8$d|v
! Lnd |mage capt|ons

d|v |ds||deLnd$d|v
$d|v
$d|v
$d|v
$body
$htm|
SYW
l,46_5Ll5OJc55
body

background|mageur|($$|mages$head|ng3g|f)
backgroundrepeatnorepeat
padd|ngtop80px

#dhtm|good|es_s||deshow

w|dth600px $* 1ota| w|dth of s||deshow *$



#prev|ewane

border1px so||d #CCCCCC
marg|nbottom10px
texta||gncenter
vert|ca|a||gnm|dd|e
padd|ngtop10px
pos|t|onre|at|ve
$* CSS nACk *$
he|ght 432px $* IL Sx *$
he|ght$* *$$**$420px $* Cther browsers *$
he|ght $**$420px

SYW%

#prev|ewane |mg
||nehe|ght400px

#prev|ewane #|argeImageCapt|on $* CSS sty||ng of |mage capt|on be|ow |arge
|mage *$
fontsty|e|ta||c
texta||gncenter
fontfam||y 1rebuchet MS Luc|da Sans Un|code Ar|a| sansser|f $*
Iont to use *$
fonts|ze09em

#ga||eryConta|ner

he|ght102px $* ne|ght of the |mages + 2 *$
border1px so||d #CCCCCC
pos|t|onre|at|ve
overf|owh|dden
padd|ng1px

$* CSS nACk *$
he|ght 104px $* IL Sx Added 2 p|xe|s for border |eft and r|ght *$
he|ght$* *$$**$102px $* Cther browsers *$
he|ght $**$102px


#arrow_|eft
SYW%

pos|t|onabso|ute
|eft0px
z|ndex10
backgroundco|or #III
padd|ng1px

#arrow_r|ght

pos|t|onabso|ute
r|ght0px
z|ndex10
backgroundco|or #III
padd|ng1px

#theImages
pos|t|onabso|ute
he|ght100px
|eft40px
w|dth100000px

#theImages #s||deLnd
f|oat|eft

#theImages |mg
f|oat|eft
SYW
padd|ng1px
f||ter a|pha(opac|tyS0)
opac|ty 0S
cursorpo|nter
border0px

#wa|tMessage

d|sp|aynone
pos|t|onabso|ute
|eft200px
top1S0px
backgroundco|or#III
border3px doub|e #000
padd|ng4px
co|or#SSS
fonts|ze09em
fontfam||yar|a|

#theImages |mageCapt|on
d|sp|aynone





SYW
l,46_5Ll5OJl4v45ckl91

var d|sp|ayWa|tMessagetrue$$ D|sp|ay a p|ease wa|t message wh||e |mages are |oad|ng?
var act|veImage fa|se
var |mageGa||eryLeftos fa|se
var |mageGa||eryW|dth fa|se
var |mageGa||eryCb[ fa|se
var maxGa||erykos fa|se
var s||deSpeed 0
var |mageGa||eryCapt|ons new Array()
funct|on startS||de(e)

|f(documenta||)e event
var |d th|s|d
th|sgetL|ementsy1agName(IMG)0src |mages$ + th|s|d + _overg|f
|f(th|s|darrow_r|ght)

s||deSpeedMu|t|p|y Mathf|oor((ec||entk th|soffsetLeft) $ S)
s||deSpeed 1*s||deSpeedMu|t|p|y
s||deSpeed Mathmax(10s||deSpeed)

e|se

s||deSpeedMu|t|p|y 10 Mathf|oor((ec||entk th|soffsetLeft) $ S)
s||deSpeed 1*s||deSpeedMu|t|p|y
s||deSpeed Mathm|n(10s||deSpeed)
SYW
|f(s||deSpeed0)s||deSpeed10


funct|on re|easeS||de()

var |d th|s|d
th|sgetL|ementsy1agName(IMG)0src |mages$ + th|s|d + g|f
s||deSpeed0

funct|on ga||eryS||de()

|f(s||deSpeed!0)
var |eftos |mageGa||eryCb[offsetLeft
|eftos |eftos$1 + s||deSpeed
|f(|eftosmaxGa||erykos)
|eftos maxGa||erykos
s||deSpeed 0

|f(|eftosm|nGa||erykos)
|eftos m|nGa||erykos
s||deSpeed0

|mageGa||eryCb[sty|e|eft |eftos + px

set1|meout(ga||eryS||de()20)

SYW
funct|on showImage()

|f(act|veImage)
act|veImagesty|ef||ter a|pha(opac|tyS0)
act|veImagesty|eopac|ty 0S

th|ssty|ef||ter a|pha(opac|ty100)
th|ssty|eopac|ty 1
act|veImage th|s

funct|on |n|tS||deShow()

documentgetL|ementyId(arrow_|eft)onmousemove startS||de
documentgetL|ementyId(arrow_|eft)onmouseout re|easeS||de
documentgetL|ementyId(arrow_r|ght)onmousemove startS||de
documentgetL|ementyId(arrow_r|ght)onmouseout re|easeS||de
|mageGa||eryCb[ documentgetL|ementyId(theImages)
|mageGa||eryLeftos |mageGa||eryCb[offsetLeft
var ga||eryConta|ner documentgetL|ementyId(ga||eryConta|ner)
|mageGa||eryW|dth ga||eryConta|neroffsetW|dth 80
maxGa||erykos |mageGa||eryCb[offsetLeft
m|nGa||erykos |mageGa||eryW|dth
documentgetL|ementyId(s||deLnd)offsetLeft

|f (nav|gatoruserAgent|ndexCf(MSIL) 0)

SYW
var arrowW|dth
documentgetL|ementyId(arrow_|eft)offsetW|dth
var e| documentcreateL|ement(d|v)
e|sty|epos|t|on abso|ute
e|sty|e|eft arrowW|dth + px
e|sty|ew|dth (ga||eryConta|neroffsetW|dth arrowW|dth * 2) +
px
e|sty|eoverf|ow h|dden
e|sty|ehe|ght 100

documentgetL|ementyId(ga||eryConta|ner)appendCh||d(e|)
e|appendCh||d(documentgetL|ementyId(theImages))

var s||deshowImages |mageGa||eryCb[getL|ementsy1agName(IMG)
for(var no0nos||deshowImages|engthno++)

s||deshowImagesnoonmouseover showImage

var d|vs |mageGa||eryCb[getL|ementsy1agName(DIV)
for(var no0nod|vs|engthno++)

|f(d|vsnoc|assName|mageCapt|on)|mageGa||eryCapt|ons|mageGa||eryCapt|o
ns|ength d|vsno|nnern1ML

ga||eryS||de()

funct|on showrev|ew(|mageath|mageIndex)
SYW
var subImages
documentgetL|ementyId(prev|ewane)getL|ementsy1agName(IMG)
|f(subImages|ength0)

var |mg documentcreateL|ement(IMG)
documentgetL|ementyId(prev|ewane)appendCh||d(|mg)

e|se
|mg subImages0
If(d|sp|ayWa|tMessage)

documentgetL|ementyId(wa|tMessage)sty|ed|sp|ay|n||ne

documentgetL|ementyId(|argeImageCapt|on)sty|ed|sp|aynone
|mgon|oad funct|on() h|deWa|tMessageAndShowCapt|on(|mageIndex
1)
|mgsrc |mageath

funct|on h|deWa|tMessageAndShowCapt|on(|mageIndex)

documentgetL|ementyId(wa|tMessage)sty|ed|sp|aynone
documentgetL|ementyId(|argeImageCapt|on)|nnern1ML
|mageGa||eryCapt|ons|mageIndex
documentgetL|ementyId(|argeImageCapt|on)sty|ed|sp|ayb|ock

w|ndowon|oad |n|tS||deShow

SYW
lNx1,L
htm|
head
t|t|eShankara nome age$t|t|e
$head
body bgco|or#CCCCCC
centertab|e border0 w|dth7S ce||padd|ng1 ce||spac|ng1
tr
tdcentertab|e border0 w|dth90 he|ghtS ce||padd|ng0
ce||spac|ng0
tr
tdd|v|mg
src|mages$bannerIG w|dth800
he|ght94$$d|v$td$tr$tab|e$center$td
$tr
tr
td a||gncenterbgco|or greena href|ndexhtm|nome$a a
hrefreg|sterformphpkeg|ster$a a hrefma|n_|og|nphpLog|n$a a
hrefadm|n|stratorphpAdm|n|strator$a a hrefca|endarphp Ca|endar$a
a hrefs|temaphtm|S|temap$a a hrefcontactshtm|Contacts$a $td
$tr
$tab|e$center
centertab|e border0 w|dth7S ce||padd|ng1 ce||spac|ng1
tr
td a||gncenterbgco|orredmarqueeWe|come to the Shankara Group
of Inst|tutes $marquee$td
$trbr
trtd a||gn|eft background|mages$shankara[pgw|dthS00
he|ght300$td$tr
SYW
td co|span2 va||gnbottomd|v a||gncenterfont s|ze2 faceverdanaa
href|mage_s||deshowhtm| C||ck here for more |mages$a $td
tab|e ce||spac|ng0 ce||padd|ng0 w|dthS90brtrtd va||gntop
sty|eborderr|ght 1px dotted #CCC padd|ngr|ght 20px texta||gn [ust|fy padd|ng|eft
20pxbShankara Inst|tute of 1echno|ogy$b was setup |n 2002 by Govt of ka[asthan
to enhance techn|ca| educat|on |n ka[asthan 1he |nst|tute |s s|tuated on Nn8 n|ghway
koad about 1S km from Ia|pur c|tybr $br $
Shankara Inst|tute of 1echno|ogy |s the best |nst|tute |n a|| the
ka[asthanIt |s aff|||ated to k1U and aproved by AIC1LSI1 |s the on|y |nst|tute wh|ch |s
used the h|gh techno|ogy |n the teach|ng$tdtd sty|epadd|ng|eft20px
|mg c|ass|mage src|mages$v|vekanand[pg $
$td$tr$tab|ebr
d|v
|mg src|mages$1[pg$|mg src|mages$4[pg$|mg src|mages$3[pg$
$d|v
$tab|e$centerbr
d|vnbsp$d|v
centertab|e w|dth100 border0 a||gncenter ce||padd|ng0
ce||spac|ng0
tr
td co|span2 va||gnbottomhr$td
$tr
tr
td co|span2 va||gnbottomd|v a||gncenterfont s|ze2
faceverdanaCopyr|ght copy 2011 y a hrefhttp$$wwwrtuac|nChandra
appu and Devendra$abrbrS|te |ast update 30092011$font$d|v$td
$tr$tab|e$center
$b$htm|


SYW%
LO6Ou199
htm|
head
t|t|eLogout$t|t|e
$head
body
centertab|e border0 w|dth7S ce||padd|ng1 ce||spac|ng1
tr
tdcentertab|e border0 w|dth100 he|ghtS
ce||padd|ng0 ce||spac|ng0
tr
tdd|v|mg
src|mages$bannerIG w|dth800
he|ght94$$d|v$td$tr$tab|e$center$td
$tr
tr
td a||gncenterbgco|orgreena href|ndexhtm|nome$a a
hrefreg|sterformphpkeg|ster$a a hrefma|n_|og|nphpLog|n$aa
hrefadm|n|stratorphpAdm|n|strator$a a hrefca|endarphpCa|endar$a
a hrefs|temaphtm|S|temap$a a hrefcontactshtm|Contacts$a $td
$tr
$tab|e$centerbrbr
centertab|e border0 w|dth7S ce||padd|ng1 ce||spac|ng1
?php
sess|on_start()
|f(sess|on_destroy())

echo font co|orgreen s|zeSou have |ogged out successfu||y
SYW%

?
d|vnbsp$d|v
d|vnbsp$d|v
d|vnbsp$d|v
d|vnbsp$d|v
centertab|e w|dth100 border0 a||gncenter ce||padd|ng0
ce||spac|ng0
tr
td co|span2 va||gnbottomhr$td
$tr
tr
td co|span2 va||gnbottomd|v a||gncenterfont s|ze2
faceverdanaCopyr|ght copy 2011 y a hrefhttp$$wwwrtuac|nChandra
appu and Devendra$a$font$d|v$td
$tr
$tab|e$center
$body
$htm|

,4lN_LO6lN99
htm|
headt|t|eStudent Log|n$t|t|e$head
body
centertab|e border0 w|dth7S ce||padd|ng1 ce||spac|ng1
tr
SYW
tdcentertab|e border0 w|dth100 he|ghtS
ce||padd|ng0 ce||spac|ng0
tr
tdd|v|mg src|mages$bannerIG w|dth800 he|ght94
$$d|v$td$tr$tab|e$center$td
$tr
tr
td a||gncenterbgco|orgreena href|ndexhtm|nome$a a
hrefreg|sterformphpkeg|ster$a a hrefma|n_|og|nphpLog|n$a a
hrefadm|n|stratorphpAdm|n|strator$a a hrefca|endarphpCa|endar$a a
hrefs|temaphtm|S|temap$a a hrefcontactshtm|Contacts$a $td
$tr
$tab|e$center
d|vnbsp$d|v
d|vnbsp$d|vtab|e w|dth300 border0 a||gncenter ce||padd|ng0
ce||spac|ng1 bgco|or#CCCCCC
tr
form nameform1 methodpost act|oncheck_|og|nphp
td
tab|e w|dth100 border0 ce||padd|ng3 ce||spac|ng1bgco|or#IIIIII
tr
td co|span3strongStudent Log|n $strong$td
$tr
tr
td w|dth78Username$td
td w|dth6$td
td w|dth294|nput namemyusername typetext |dmyusername$td
$tr
SYW
tr
tdassword$td
td$td
td|nput namemypassword typepassword |dmypassword$td
$tr
tr
tdnbsp$td
tdnbsp$td
td|nput typesubm|t nameSubm|t va|ueLog|n$td
$tr
$tab|e
$td
$form
$tr
$tab|e
tdnbsp$td
tdnbsp$td
tdnbsp$td
tdnbsp$tdbrbr
centertab|e w|dth100 border0 a||gncenter ce||padd|ng0 ce||spac|ng0
tr
td co|span2 va||gnbottomhr$td
$trbrbr
tr
td co|span2 va||gnbottomd|v a||gncenterfont s|ze2
faceverdanaCopyr|ght copy 2011 y a hrefhttp$$wwwrtuac|nChandra
appu and Devendra$a$font$d|v$td
SYW
$tr
$tab|e$center
$body
$htm|

k6l51k99
?php
sess|on_start()sess|on_destroy()
sess|on_start()
|f(5_GL1myusername 5_GL1mypassword 5_GL1mypassword1 )

|f(5_GL1mypassword5_GL1mypassword1)

5servername|oca|host
5usernameroot
5conn mysq|_connect(5servername5username)or d|e(mysq|_error())
mysq|_se|ect_db(test5conn)
5sq||nsert |nto |og|n1
(usernamepasswordSurnameI|rstnameM|dd|enameIathernameMothernameDCLm
a||honeSexAddressua||f|cat|onD|v|s|onCourseStateNat|ona||ty)
va|ues(5_GL1myusername5_GL1mypassword5_GL1surname5_GL1f|rstname
5_GL1m|dd|ename5_GL1fname5_GL1mname5_GL1dob5_GL1ema||5_GL1
phone5_GL1sex5_GL1address5_GL1qua||f|cat|on5_GL1d|v|s|on5_GL1cou
rse5_GL1state5_GL1nat|ona||ty)
5resu|tmysq|_query(5sq|5conn) or d|e(mysq|_error())
echo font co|orgreen s|ze4 art 1 keg|strat|on Comp|ete Successfu||y
pr|nt brbrfont co|orreda hrefup|oadphpImage up|oad$a

SYW

e|se pr|ntInva||d |nput data
?

k6l51k41lONlOk,99
htm|
headt|t|eShankara keg|strat|on$t|t|e$head

body bgco|or#IIIIII
centertab|e border0 w|dth7S ce||padd|ng1 ce||spac|ng1
tr
tdcentertab|e border0 w|dth100 he|ghtS
ce||padd|ng0 ce||spac|ng0
tr
tdd|v
|mg src|mages$bannerIG w|dth800 he|ght94
$$d|v$td$tr$tab|e$center$td
$tr
tr
td a||gncenterbgco|orgreena href|ndexhtm|nome$a a
hrefreg|sterformphpkeg|ster$a a hrefma|n_|og|nphpLog|n$a a
hrefadm|n|stratorphpAdm|n|strator$a a hrefca|endarphpCa|endar$a a
hrefs|temaphtm|S|temap$a a hrefcontactshtm|Contacts$a $td
$tr
$tab|e$centerbrbr
ICkM AC1ICNreg|sterphp ML1nCDget
centertab|e w|dth100 border0 a||gncenter ce||padd|ng0
ce||spac|ng0
SYW
tr
td co|span2hr$td
$tr
tr
td co|span2d|v a||gncenterfont s|ze3 faceverdana
co|orb|ue|mg src|mages$newuser[pgbNew Student
keg|ster$b$font$d|v$td
$tr
tr
td co|span2hr$td
$tr
tr
td co|span1hr$td
$tr
tr
td a||gn|eftfont faceVerdana s|ze3 co|orredUsername and
assword Deta||s$font$td
$tr
tr
td co|span1hr$td
$tr
tr
td he|ght26 a||gnr|ghtfont s|ze2 faceverdanausername $fontfont
co|orred s|ze2 faceverdana* $font$td
tdfont s|ze2 faceverdana|nput typetext namemyusername
s|ze40$font$td
$tr
tr
SYW
td he|ght28 a||gnr|ghtfont s|ze2 faceverdanapassword $fontfont
co|orred s|ze2 faceverdana* $font$td
tdd|vfont s|ze2 faceverdana|nput typepassword
namemypassword s|ze40 max|ength40$font$d|v$td
$tr
tr
td he|ght28 a||gnr|ghtfont s|ze2 faceverdanaConf|rm password
$fontfont co|orred s|ze2 faceverdana* $font$td
tdd|vfont s|ze2 faceverdana|nput typepassword
namemypassword1 s|ze40 max|ength40$font$d|v$td
$tr
tr
td co|span1hr$td
$tr
tr
td a||gn|eftfont faceVerdana s|ze3 co|orredersona|
Deta||s$font$td
$tr
tr
td co|span1hr$td
$tr
tr
td he|ght2S a||gnr|ghtfont s|ze2 faceverdanaSurname $fontfont
co|orred s|ze2 faceverdana* $font$td
tdfont s|ze2 faceverdana|nput typetext namesurname
s|ze40$font$td
$tr
tr
SYW
td he|ght2S a||gnr|ghtfont s|ze2 faceverdanaI|rstname $fontfont
co|orred s|ze2 faceverdana* $font$td
tdfont s|ze2 faceverdana|nput typetext namef|rstname
s|ze40$font$td
$tr
tr
td he|ght2S a||gnr|ghtfont s|ze2 faceverdanaM|dd|ename
$fontfont co|orred s|ze2 faceverdana* $font$td
tdfont s|ze2 faceverdana|nput typetext namem|dd|ename
s|ze40$font$td
$tr
tr
td he|ght2S a||gnr|ghtfont s|ze2 faceverdanaIathername
$fontfont co|orred s|ze2 faceverdana* $font$td
tdfont s|ze2 faceverdana|nput typetext namefname
s|ze40$font$td
$tr
tr
td he|ght2S a||gnr|ghtfont s|ze2 faceverdanaMothername
$fontfont co|orred s|ze2 faceverdana* $font$td
tdfont s|ze2 faceverdana|nput typetext namemname
s|ze40$font$td $tr
tr
td he|ght26 a||gnr|ghtfont s|ze2 faceverdanaDC $fontfont
co|orred s|ze2 faceverdana* $font$td
tdfont s|ze2 faceverdana|nput typetext namedob max|ength11
s|ze40$fontfont s|ze2 faceverdana co|orrednbspexamp|e (|e yyyy
ddmm)$font$tr
tr
SYW
td he|ght26 a||gnr|ghtfont s|ze2 faceverdanaLma|| $fontfont
co|orred s|ze2 faceverdana* $font$td
tdfont s|ze2 faceverdana|nput typetext nameema||
s|ze40$font$td
$tr
tr
td he|ght26 a||gnr|ghtfont s|ze2 faceverdanahone $fontfont
co|orred s|ze2 faceverdana* $font$td
tdfont s|ze2 faceverdana|nput typetext namephone
max|ength20 s|ze40$font$td
$tr
tr
td he|ght26 a||gnr|ghtfont s|ze2 faceverdanaSex $fontfont
co|orred s|ze2 faceverdana* $font$td
tdfont s|ze2 faceverdanase|ect namesex
opt|on va|ueMa|eMa|e$opt|on
opt|on va|ueIema|eIema|e$opt|on
opt|on va|ue|ease Se|ect se|ectedse|ected|ease Se|ect$opt|on
$se|ect$font$td
$tr
tr
td he|ght26 a||gnr|ghtfont s|ze2 faceverdanaAddress $fontfont
co|orred s|ze2 faceverdana* $font$td
tdfont s|ze2 faceverdanatextarea rowsS co|s30
nameaddress$textarea$font$td
$tr
tr
td he|ght26 a||gnr|ghtfont s|ze2 faceverdanaua||f|cat|on
$fontfont co|orred s|ze2 faceverdana* $font$td
SYW%
tdfont s|ze2 faceverdana
se|ect namequa||f|cat|on
opt|on va|ue10th10th$opt|on
opt|on va|ue12th12th$opt|on
opt|on va|ueGraduateGraduate $opt|on
opt|on va|ueostGraduateostGraduate$opt|on
opt|on va|ue|ease Se|ect se|ectedse|ected|ease Se|ect$opt|on
$se|ect$font$td
$tr

tr
td he|ght26 a||gnr|ghtfont s|ze2 faceverdanaD|v|s|on $fontfont
co|orred s|ze2 faceverdana* $font$td
tdfont s|ze2 faceverdana
se|ect named|v|s|on
opt|on va|ueI|rstI|rst $opt|on
opt|on va|ueSecondSecond $opt|on
opt|on va|ue1h|rd1h|rd $opt|on
opt|on va|uee|ow 40e|ow 40$opt|on
opt|on va|ue|ease Se|ect se|ectedse|ected|ease Se|ect$opt|on
$se|ect$font$td
$tr
tr
td he|ght26 a||gnr|ghtfont s|ze2 faceverdanaCourse $fontfont
co|orred s|ze2 faceverdana* $font$td
tdfont s|ze2 faceverdanase|ect namecourse
opt|on va|ue1LCn 1LCn $opt|on
SYW%
opt|on va|ueMCA MCA $opt|on
opt|on va|ueMA MA $opt|on
opt|on va|ueLD LD $opt|on
opt|on va|ue|ease Se|ect se|ectedse|ected|ease Se|ect$opt|on
$se|ect$font$td $tr
tr
td he|ght26 a||gnr|ghtfont s|ze2 faceverdanaState $fontfont
co|orred s|ze2 faceverdana* $font$td
tdfont s|ze2 faceverdana|nput typetext namestate
s|ze40$font$td
$tr
tr
td he|ght26 a||gnr|ghtfont s|ze2 faceverdanaNat|ona||ty $fontfont
co|orred s|ze2 faceverdana* $font$td
tdfont s|ze2 faceverdana|nput typetext namenat|ona||ty
s|ze40$font$td
$tr
$tab|e$centerbr
centertab|e border0 w|dth7S ce||padd|ng1 ce||spac|ng1
tr
td a||gncenter|nput type|mage src|mages$reg|ster[pg
namesubm|t$td
$tr
tr
td co|span2hr$td
$tr
$tab|e$center
$form
SYW%
centertab|e border0 w|dth7S ce||padd|ng1 ce||spac|ng1
tr
td co|span2 va||gnbottomd|v a||gncenterfont s|ze2
faceverdanaCopyr|ght copy 2011 y a hrefhttp$$wwwrtuac|nChandra
appu and Devendra$a$font$d|v$td
$tr
$tab|e$center
$body
$htm|

5l1,491,L
htm|
head
t|t|eShankara S|temap$t|t|e
$head
body
centertab|e border0 w|dth7S ce||padd|ng1 ce||spac|ng1
tr
tdcentertab|e border0 w|dth100 he|ghtS
ce||padd|ng0 ce||spac|ng0
tr
tdd|v|mg
src|mages$bannerIG w|dth800
he|ght94$$d|v$td$tr$tab|e$center$td
$tr
tr
td a||gncenterbgco|orgreena href|ndexhtm|nome$a a
hrefreg|sterformphpkeg|ster$a a hrefma|n_|og|nphpLog|n$a a
SYW%
hrefadm|n|stratorphpAdm|n|strator$a a hrefca|endarphpCa|endar$a
a hrefs|temaphtm|S|temap$a a hrefcontactshtm|Contacts$a $td
$tr
$tr
$tab|e$center
centertab|e border0 w|dth7S ce||padd|ng1 ce||spac|ng1
tr
td a||gncenter|mg src|mages$s|temapIG $td
$tr
$tab|e$center
d|vnbsp$d|v
centertab|e w|dth100 border0 a||gncenter ce||padd|ng0
ce||spac|ng0
tr
td co|span2 va||gnbottomhr$td
$tr
tr
td co|span2 va||gnbottomd|v a||gncenterfont s|ze2
faceverdanaCopyr|ght copy 2011 y a hrefhttp$$wwwrtuac|nChandra
appu and Devendra$a$font$d|v$td
$tr
$tab|e$center
$body
$htm|



SYW%
u9LO499
?php
|f(|sset(5_CS1Subm|t))

5current_|mage5_IILLS|magename
5extens|on substr(strrchr(5current_|mage ) 1)
|f ((5extens|on! [pg) (5extens|on ! [peg))

d|e(Unknown extens|on)

5t|me date(fh|s)
5new_|mage 5t|me 5extens|on
5dest|nat|onup|oads$5new_|mage
5act|on copy(5_IILLS|magetmp_name 5dest|nat|on)
|f (!5act|on)

d|e(I||e copy fa||ed)

e|se

echo font co|orred s|ze4 We|come |n the Shankara group of Inst|tut|on
echo brbrfont co|orgreen s|ze4 I||e Up|oad Successfu||y
pr|nt brbrfont co|orreda hrefma|n_|og|nphpLCGIN$a


e|se
SYW%

?
form methodpost enctypemu|t|part$formdata act|onup|oadphp
|nput typef||e name|mage br
|nput typesubm|t nameSubm|t va|uesubm|t
$form
?php

?

vlJ99
?php
$$|nc|ud|ng the database connect|on f||e
|nc|ude_once(conf|gphp)
$$fetch|ng data |n descend|ng order (|astest entry f|rst)
5resu|tmysq|_query(SLLLC1 * IkCM |og|n1 CkDLk |d DLSC)
?
htm|
t|t|enomepage$t|t|e
body bgco|or#99CCIIbr
a href|ndexhtm|nome$a
?php
echo tab|e w|dth80 border0

echo tr bgco|or#339911
echo tdusername$td
SYW%
echo tdpassword$td
echo tdSurname$td
echo tdI|rstname$td
echo tdM|dd|ename$td
echo tdIathername$td
echo tdMothername$td
echo tdDC$td
echo tdLma||$td
echo tdhone$td
echo tdSex$td
echo tdAddress$td
echo tdua||f|cat|on$td
echo tdD|v|s|on$td
echo tdCourse$td
echo tdState$td
echo tdNat|ona||ty$td
echo tdUpdate$td
echo $tr
wh||e(5resmysq|_fetch_array(5resu|t)
)

echo tr
echo td5resusername$td
echo td5respassword$td
echo td5resSurname$td
echo td5resI|rstname$td
SYW%
echo td5resM|dd|ename$td
echo td5resIathername$td
echo td5resMothername$td
echo td5resDC$td
echo td5resLma||$td
echo td5reshone$td
echo td5resSex$td
echo td5resAddress$td
echo td5resua||f|cat|on$td
echo td5resD|v|s|on$td
echo td5resCourse$td
echo td5resState$td
echo td5resNat|ona||ty$td
echo tda hrefed|tphp?|d5res|dLd|t$a | a
hrefde|etephp?|d5res|dDe|ete$a$td

echo $tab|e
?
$body
$htm|





SYW%
Flowcbart :









uoes oot exlsts



xlsts










S1C
DISLA DL1AILS CI S1UDLN1
CnLCk
USLkNAML
ASSWCkD
S1Ak1
LN1Lk LCGIN USLkNAML ASSWCkD
SYW%
Data I|ow D|agram

utubuxe SeurcheJ
utu RetrleveJ
Iogln Procexx

Iogln
Conflgurutlon Jutu










Database
Student Log|n and
keg|strat|on
System
D|sp|ay Deta||s of
Student
Get uery and
Updat|ng
Adm|n|strator
rocess
username
password
Student
Updat|ng and
De|et|ng
Account
SYW%%



CCNCLUSICN








SYW%%
CCNCLUSICN

AfLer we have compleLed Lhe pro[ecL we are sure Lhe problems ln Lhe exlsLlng
sysLem would overcome 1he Ln8CLLMLn1 S?S1LM# process made
compuLerlzed reduce human errors and Lo lncrease Lhe efflclency 1he maln
focus of Lhls pro[ecL ls Lo lessen human efforLs 1he malnLenance of Lhe records
ls made efflclenL as all Lhe records are sLored ln Lhe flles Lhrough whlch daLa
can be reLrleved easlly 1he conLrol ls provlded ln all Lhe forms Lo navlgaLe
Lhrough Lhe large amounL of records lf Lhe numbers of records are very large
Lhen user has Lo [usL Lype ln Lhe search sLrlng and geLs Lhe resulLs lmmedlaLely
1he edlLlng ls also made slmpler
1he pro[ecL ls helps Lo sLored Lhe daLa of Lhe sLudenLs Cur maln alm of Lhe
pro[ecL ls Lo geL correcL lnformaLlon abouL Lhe enrolled sLudenL










SYW%


ILICGkAn









SYW%
ILICGkAn

lnLerneL WWW Pow Lo programuLl1LL !PMrenLlce Pall
n and MySL Web Deve|opment by Luke Welllng and Laura
1homson
nead I|rst n MySL by Lynn 8elghley and Mlchael Morrlson

Vous aimerez peut-être aussi