0% found this document useful (0 votes)
172 views3 pages

Server Side Scripting (PHP) SOP

Uploaded by

sohamraut26viiid
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
172 views3 pages

Server Side Scripting (PHP) SOP

Uploaded by

sohamraut26viiid
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

---- --- -----

£XPER1MENT: m s,p-'2

lCc.n+ .... c, t0£-W tn -/he


S!:6J

nle'1 _l he ,,.!.It 1-nJ: f-He.llo J


@~<bm :t] l Oya_'{ 1
<:I oocrvP€
~h>ml >
.:'..,tnd>
.2..
<fitJe)- p,.ip v~~ 1-lil:le>

!
I
• PIIJ' ..., ._ !I nut llt• total pgmbsr of yowel:!
EXPE RIMEN T : [: ]
ln the itna1 ,
' & VLDS LIIISW
~

l~- -l- -~ --- -;- --~ --: --- --= :--


tL-- -1-- ---- -::f- ~-= -~~ ~-t- --: --: -:- --- --- --- -~ --- r-
-,::! ...-J .~~ ~~~ ~~~ :nD ~µ,
,,,;~ !.!~ ~fJ ~..: !--- t-
<1brm ectioo -"lcstv 0"-e\.p bp• m.ctho d-•gct ">
<bI alip-• centc r">PH P Progra m to displa
y numbe r of vowel <Jh I>
<b>En tcr a stri.og :<Jl»
<inpu t typc-• tcxt"n amc-• tI ~ >
<inpu t type= •subm it•vaiu e-•sub mit">
t
<inpu t typc=- •rcset• valUC""'•clcar">
<lfonn >
<./body>
<./bDnl>
FIie aame :-Cnt vo,,nl php
<?pbp
function vowd slO
{
$s1..S _GET ftl'];
Si;Slcn;Svow-<0;
Slc:o=sttlen(Ss1);
for(Si=O;Si<Slen;Si++)
(
if{Ss l(Si]- 'a' orSsl [Si]-- e' orSsl [Si)-' i' orSsl
[Si)_ .o. orSsl lSi)--'U'
orSsl [Si]-' A' orSsl [Si)-' E' orSsl [Si}_ .l.
orSsl [Si)-' O' orSs\l Si}-'\T )
{

}
ecbo"N fvowc ls in the given string:• .$vow;
}
vowd slO;
?>
EXPERlMENT : \N
l_o.
_ jI

er! 1·

('!" ,yj p

,_, '- nt'"


• ' i;
~
PG : ~~p

\ -';( F't .Jb "'l •r

- - - - - - - .- -
------------------

You might also like