13104643 php documents oops

Download 13104643 Php Documents Oops

Post on 05-Apr-2018

212 views

Category:

Documents

0 download

Embed Size (px)

TRANSCRIPT

  • 7/31/2019 13104643 Php Documents Oops

    1/204

    "#$% &' ()%%*+, -%#$%).

    /0#% *1 "2"3

    "#" $%&'(%)*+& ,'%-./0 1-% 2"#"3 #/4&%5&65 "%&4%-'&))-%27 *) , 8*9&;/-(%'& ?&.&%,;#+ "2" .

  • 7/31/2019 13104643 Php Documents Oops

    2/204

    >&%+&%&& 5@& *.)5,;;,5*-. *.)5%('5*-.) )&'5*-. 1-% 0-%&

    *.1-%0,5*-.F L-00,.9 ;*.& )'%*45*.?F P-( ',. 0,K& , "#" )'%*45 5- %(. *5 8*5@-(5 ,./ )&%+&% -% B%-8)&%F P-( -.;/

    .&&9 5@& "#" 4,%)&% 5- ()& *5 5@*) 8,/F C@*) 5/4& -1 (),?& *) *9&,; 1-% )'%*45) %&?(;,%;/ &6&'(5&9 ()*.?'%-. $-. V.*6 -% E*.(67 -% C,)K >'@&9(;&% $-. A*.9-8)7F C@&)& )'%*45) ',. ,;)- B& ()&9 1-% )*04;&5&65 4%-'&))*.? 5,)K)F >&& 5@& )&'5*-. ,B-(5 L-00,.9 ;*.& (),?& -1 "#" 1-% 0-%& *.1-%0,5*-.F

    A%*5*.? 9&)K5-4 ,44;*',5*-.)F "#" *) 4%-B,B;/ .-5 5@& +&%/ B&)5 ;,.?(,?& 5- '%&,5& , 9&)K5-4,44;*',5*-. 8*5@ , ?%,4@*',; ()&% *.5&%1,'&G B(5 *1 /-( K.-8 "#" +&%/ 8&;;G ,.9 8-(;9 ;*K& 5- ()& )-0&,9+,.'&9 "#" 1&,5(%&) *. /-(% ';*&.5&%+&%G J&5)',4& ,.9 *";,.&5 )&%+&%)G =%&*;;/ A&B)*5& "%- )&%+&%G L,(9*(0G Z*5,0*G =0.*#CC"9G ,.9 0,./-5@&%)F [-% 5@& 0,M-%*5/ -1 5@& )&%+&%) "#" @,) , 0-9(;&G 1-% 5@& -5@&%) )(44-%5*.? 5@& LTO )5,.9,%9G "#" ',.8-%K ,) , LTO 4%-'&))-%F

    >- 8*5@ "#"G /-( @,+& 5@& 1%&&9-0 -1 '@--)*.? ,. -4&%,5*.? )/)5&0 ,.9 , 8&B )&%+&%F [(%5@&%0-%&G /-( ,;)-@,+& 5@& '@-*'& -1 ()*.? 4%-'&9(%,; 4%-?%,00*.? -% -BM&'5 -%*&.5&9 4%-?%,00*.?G -% , 0*65(%& -1 5@&0FI;5@-(?@ .-5 &+&%/ )5,.9,%9 ==" 1&,5(%& *) *04;&0&.5&9 *. "#" \G 0,./ '-9& ;*B%,%*&) ,.9 ;,%?&,44;*',5*-.) $*.';(9*.? 5@& "]IS ;*B%,%/7 ,%& 8%*55&. -.;/ ()*.? ==" '-9&F "#" ^ 1*6&) 5@& ==" %&;,5&98&,K.&))&) -1 "#" \G ,.9 *.5%-9('&) , '-04;&5& -BM&'5 0-9&;F

    A*5@ "#" /-( ,%& .-5 ;*0*5&9 5- -(54(5 #CDEF "#"Q) ,B*;*5*&) *.';(9&) -(54(55*.? *0,?&)G "R[ 1*;&) ,.9 &+&.[;,)@ 0-+*&) $()*.? ;*B)81 ,.9 D*.?7 ?&.&%,5&9 -. 5@& 1;/F P-( ',. ,;)- -(54(5 &,)*;/ ,./ 5&65G )('@ ,)Z#CDE ,.9 ,./ -5@&% ZDE 1*;&F "#" ',. ,(5-?&.&%,5& 5@&)& 1*;&)G ,.9 ),+& 5@&0 *. 5@& 1*;& )/)5&0G *.)5&,9-1 4%*.5*.? *5 -(5G 1-%0*.? , )&%+&%_E >/B,)&

    #/4&%8,+& D/>_E &;-'*)

    OUD RUa =RUL Y.*6 9B0

    O.1-%0*6 =%,';& $=LOb ,.9 =LOc7

    O.?%&) =+%*0-)A& ,;)- @,+& , 9,5,B,)& ,B)5%,'5*-. &65&.)*-. $.,0&9 "R=7 ,;;-8*.? /-( 5- 5%,.)4,%&.5;/ ()& ,./ 9,5,B,)&)(44-%5&9 B/ 5@,5 &65&.)*-.F I99*5*-.,;;/ "#" )(44-%5) =RULG 5@& =4&. R,5,B,)& L-..&'5*-. )5,.9,%9G )-/-( ',. '-..&'5 5- ,./ -5@&% 9,5,B,)& )(44-%5*.? 5@*) 8-%;9 )5,.9,%9F

  • 7/31/2019 13104643 Php Documents Oops

    3/204

    "#" ,;)- @,) )(44-%5 1-% 5,;K*.? 5- -5@&% )&%+*'&) ()*.? 4%-5-'-;) )('@ ,) ERI"G ODI"G >JD"G JJC"G "="dG#CC"G L=D $-. A*.9-8)7 ,.9 '-(.5;&)) -5@&%)F P-( ',. ,;)- -4&. %,8 .&58-%K )-'K&5) ,.9 *.5&%,'5 ()*.?,./ -5@&% 4%-5-'-;F "#" @,) )(44-%5 1-% 5@& ARRZ '-04;&6 9,5, &6'@,.?& B&58&&. +*%5(,;;/ ,;; A&B4%-?%,00*.? ;,.?(,?&)F C,;K*.? ,B-(5 *.5&%'-..&'5*-.G "#" @,) )(44-%5 1-% *.)5,.5*,5*-. -1 N,+, -BM&'5) ,.9()*.? 5@&0 5%,.)4,%&.5;/ ,) "#" -BM&'5)F P-( ',. ,;)- ()& -(% L=SUI &65&.)*-. 5- ,''&)) %&0-5& -BM&'5)F

    "#" @,) &65%&0&;/ ()&1(; 5&65 4%-'&))*.? 1&,5(%&)G 1%-0 5@& "=>OZ ]65&.9&9 -% "&%; %&?(;,% &64%&))*-.) 5-4,%)*.? ZDE 9-'(0&.5)F [-% 4,%)*.? ,.9 ,''&))*.? ZDE 9-'(0&.5)G "#" \ )(44-%5) 5@& >IZ ,.9 R=D)5,.9,%9)G ,.9 /-( ',. ,;)- ()& 5@& Z>EC &65&.)*-. 5- 5%,.)1-%0 ZDE 9-'(0&.5)F "#" ^ )5,.9,%9*e&) ,;; 5@&ZDE &65&.)*-.) -. 5@& )-;*9 B,)& -1 ;*B60;a ,.9 &65&.9) 5@& 1&,5(%& )&5 ,99*.? >*04;&ZDE ,.9 ZDES&,9&%)(44-%5F

    I5 ;,)5 B(5 .-5 ;&,)5G 8& @,+& 0,./ -5@&% *.5&%&)5*.? &65&.)*-.)G 5@& 0.-T->&,%'@ )&,%'@ &.?*.& 1(.'5*-.)G5@& OSL T,5&8,/ 1(.'5*-.)G 0,./ '-04%&))*-. (5*;*5*&) $?e*4G BeaG e*47G ',;&.9,% '-.+&%)*-.G 5%,.);,5*-.FFF

    I) /-( ',. )&& 5@*) 4,?& *) .-5 &.-(?@ 5- ;*)5 ,;; 5@& 1&,5(%&) ,.9 B&.&1*5) "#" ',. -11&%F S&,9 -. *. 5@&)&'5*-.) ,B-(5 *.)5,;;*.? "#"G ,.9 )&& 5@& 1(.'5*-. %&1&%&.'& 4,%5 1-% &64;,.,5*-. -1 5@& &65&.)*-.) 0&.5*-.&9

    @&%&F

    ; 1*678) %=%

  • 7/31/2019 13104643 Php Documents Oops

    4/204

    @'?&@()*.? 5@& "#" &'@-$7 )5,5&0&.5F J-5& 5@,5 5@& 1*;& @'%7 A'2 A%%@ 2' B% %C%5D26B&% -%)4&'*,; *. ,./ 8,/F C@& )&%+&% 1*.9) -(5 5@,5 5@*) 1*;& .&&9) 5- B& *.5&%4%&5&9 B/ "#" B&',()& /-( ()&9 5@&2F4@42 &65&.)*-.G 8@*'@ 5@& )&%+&% *) '-.1*?(%&9 5- 4,)) -. 5- "#"F C@*.K -1 5@*) ,) , .-%0,; #CDE 1*;&8@*'@ @,44&.) 5- @,+& , )&5 -1 )4&'*,; 5,?) ,+,*;,B;& 5- /-( 5@,5 9- , ;-5 -1 *.5&%&)5*.? 5@*.?)F

    O1 /-( 5%*&9 5@*) &6,04;& ,.9 *5 9*9 .-5 -(54(5 ,./5@*.?G *5 4%-045&9 1-% 9-8.;-,9G -% /-( )&& 5@& 8@-;& 1*;& ,)5&65G '@,.'&) ,%& 5@,5 5@& )&%+&% /-( ,%& -. 9-&) .-5 @,+& "#" &.,B;&9G -% *) .-5 '-.1*?(%&9 4%-4&%;/F I)K /-(%,90*.*)5%,5-% 5- &.,B;& *5 1-% /-( ()*.? 5@& O.)5,;;,5*-. '@,45&% -1 5@& 0,.(,;F O1 /-( ,%& 9&+&;-4*.? ;-',;;/G

    ,;)- %&,9 5@& *.)5,;;,5*-. '@,45&% 5- 0,K& )(%& &+&%/5@*.? *) '-.1*?(%&9 4%-4&%;/F D,K& )(%& 5@,5 /-( ,''&))5@& 1*;& +*, @554 8*5@ 5@& )&%+&% 4%-+*9*.? /-( 5@& -(54(5F O1 /-( M()5 ',;; (4 5@& 1*;& 1%-0 /-(% 1*;& )/)5&0G 5@&.*5 8*;; .-5 B& 4,%)&9 B/ "#"F O1 5@& 4%-B;&0) 4&%)*)5 ,./8,/G 9- .-5 @&)*5,5& 5- ()& -.& -1 5@& 0,./ X "#")(44-%5 -45*-.)F

    C@& 4-*.5 -1 5@& &6,04;& *) 5- )@-8 5@& )4&'*,; "#" 5,? 1-%0,5F O. 5@*) &6,04;& 8& ()&9 EF#$# 5- *.9*',5&5@& )5,%5 -1 , "#" 5,?F C@&. 8& 4(5 5@& "#" )5,5&0&.5 ,.9 ;&15 "#" 0-9& B/ ,99*.? 5@& ';-)*.? 5,?G FGF P-(0,/ M(04 *. ,.9 -(5 -1 "#" 0-9& *. ,. #CDE 1*;& ;*K& 5@*) ,./8@&%& /-( 8,.5F [-% 0-%& 9&5,*;)G %&,9 5@&0,.(,; )&'5*-. -. 5@& B,)*' "#" )/.5,6F

    ; G

  • 7/31/2019 13104643 Php Documents Oops

    5/204

    E*.& 1&&9) @,+& ;*55;& 0&,.*.? *. #CDEG @-8&+&% *5 *) )5*;; , ?--9 *9&, 5- 0,K& /-(% #CDE ;--K .*'& ,.9';&,. B/ 4(55*.? ;*.& 1&&9) *.F I ;*.&1&&9 5@,5 1-;;-8) *00&9*,5&;/ ,15&% , ';-)*.? FG 8*;; B& %&0-+&9 B/ "#"FC@*) ',. B& &65%&0&;/ ()&1(; 8@&. /-( ,%& 4(55*.? *. 0,./ B;-'K) -1 "#" -% *.';(9& 1*;&) '-.5,*.*.? "#"5@,5 ,%&.Q5 )(44-)&9 5- -(54(5 ,./5@*.?F I5 5@& ),0& 5*0& *5 ',. B& , B*5 '-.1()*.?F P-( ',. 4(5 , )4,'& ,15&%5@& ';-)*.? FG 5- 1-%'& , )4,'& ,.9 , ;*.& 1&&9 5- B& -(54(5G -% /-( ',. 4(5 ,. &64;*'*5 ;*.& 1&&9 *. 5@& ;,)5

    &'@-g4%*.5 1%-0 8*5@*. /-(% "#" B;-'KF

    ; G

  • 7/31/2019 13104643 Php Documents Oops

    6/204

    45#678) D'M' "$*+%*+, # N#$*#C8) O;$$#? )8)6)+%P

    " 3 . # . ( 4 # 1 FGH,IJ,IK 96@@;GLH,IGMN,O@9 P ?3 '

    I ),04;& -(54(5 -1 5@*) )'%*45 0,/ B&3

    Q 1 R + && ) / ST U D 4 1 %. ) $ + 0& ( ? Q H 8 , V T U ? A + B *1 W < O @ X T Y E

    C@&%& ,%& 0,./ 5/4&) -1 +,%*,B;&) ,+,*;,B;& *. "#"F O. 5@& ,B-+& &6,04;& 8& 4%*.5&9 ,. I%%,/ &;&0&.5FI%%,/) ',. B& +&%/ ()&1(;F

    I0J-1K-1 *) M()5 -.& +,%*,B;& 5@,5 "#" ,(5-0,5*',;;/ 0,K&) ,+,*;,B;& 5- /-(F I ;*)5 ',. B& )&&. *. 5@&S&)&%+&9 `,%*,B;&) )&'5*-. -1 5@& 0,.(,; -% /-( ',. ?&5 , '-04;&5& ;*)5 -1 5@&0 B/ ;--K*.? ,5 5@& -(54(5 -1 5@&4@4*.1-$7 1(.'5*-. ()&9 *. 5@& &6,04;& *. 5@& 4%&+*-() )&'5*-.F

    P-( ',. 4(5 0(;5*4;& "#" )5,5&0&.5) *.)*9& , "#" 5,? ,.9 '%&,5& ;*55;& B;-'K) -1 '-9& 5@,5 9- 0-%& 5@,. M()5 ,)*.?;& &'@-F [-% &6,04;&G *1 /-( 8,.5 5- '@&'K 1-% O.5&%.&5 ]64;-%&% /-( ',. 9- 5@*)3

    45#678) D'Q' 45#678) =1*+, >%*

  • 7/31/2019 13104643 Php Documents Oops

    7/204

    45#678) D'R' S*5*+, C

  • 7/31/2019 13104643 Php Documents Oops

    8/204

    6 + " 3 . # . ( 4 # 1 # $ % & < . ( 4 + ) & 4 # ) =

  • 7/31/2019 13104643 Php Documents Oops

    9/204

    A*5@ /-(% .&8 K.-8;&9?& /-( )@-(;9 B& ,B;& 5- (.9&%)5,.9 0-)5 -1 5@& 0,.(,; ,.9 ,;)- 5@& +,%*-() &6,04;&)'%*45) ,+,*;,B;& *. 5@& &6,04;& ,%'@*+&)F P-( ',. ,;)- 1*.9 -5@&% &6,04;&) -. 5@& 4@4F.&am