$_GET function in php not working correctly -


im using url:

http://domain.co.uk/iphone/index.php?c=knnkvlo4rokpvvtxucdu&bhsirf=q8ip6okrtaocjccgpb94&9froifhew3=ux9xi0vjkfzietvs6rtt&40289njgw=we80l1rxdpiqj4enl3qm&adjoirtgerg^%%c2%a3fd=ozs60iysc1vd9qgvdzip&jorw4958fq%c2%a3$=2kbck7exrnmzlymhddkhvm2e3j4sndtmo8ho2ag6&ffjg^gddfgn2ffghe=8futcatzkbf1vyqpcornk8lok4erpt43xoegnvtbyli9c1riintwvwvshxkn&a@@^%45383fhrefggew=48bfy4u6bbycmqlhnvfk2kbck7exrnmzlymhddkh&fghdfb.fewfrgopewfrwgreg=gbbykubaek7dcpq69m7zkxvga2aswiylrexouqdinysknnmhf0hhqhqgdmus9m3zy74em2nirubulws5xcpmghytg8we8f1y9ar2&gfiegrowu895743fdgtry%c2%a3qt%c2%a3%yewhfuigw9545trwtryegsgfnfht34o=vxbutfxodhxqshjzh9mqx4trfz38eaemm5eowckvgeh69yygwofjqi0y4je9gdhfrhdfhmc2tqtlb4lwweo47z5irep42qppeymllzx4yiflxpnz3g4gu384dqypno9c3ks2rggnevamhjnewc6g48wheehp6r5tfopi5oycsniukhxfoaqvxtaggqt6xkce74hp4f22 

and in php:

<?php if($_get["c"] == 'knnkvlo4rokpvvtxucdu' , $_get["bhsirf"] == 'q8ip6okrtaocjccgpb94' , $_get["9froifhew3"] == 'ux9xi0vjkfzietvs6rtt' , $_get["40289njgw"] == 'we80l1rxdpiqj4enl3qm' , $_get["adjoirtgerg^%£fd"] == 'ozs60iysc1vd9qgvdzip' , $_get["jorw4958fq£$"] == '2kbck7exrnmzlymhddkhvm2e3j4sndtmo8ho2ag6' , $_get["ffjg^gddfgn2ffghe"] == '8futcatzkbf1vyqpcornk8lok4erpt43xoegnvtbyli9c1riintwvwvshxkn' , $_get["a@@^%45383fhrefggew"] == '48bfy4u6bbycmqlhnvfk2kbck7exrnmzlymhddkh' , $_get["fghdfb.fewfrgopewfrwgreg"] == 'gbbykubaek7dcpq69m7zkxvga2aswiylrexouqdinysknnmhf0hhqhqgdmus9m3zy74em2nirubulws5xcpmghytg8we8f1y9ar2' , $_get["gfiegrowu895743fdgtry£qt£%yewhfuigw9545trwtryegsgfnfht34o"] == 'vxbutfxodhxqshjzh9mqx4trfz38eaemm5eowckvgeh69yygwofjqi0y4je9gdhfrhdfhmc2tqtlb4lwweo47z5irep42qppeymllzx4yiflxpnz3g4gu384dqypno9c3ks2rggnevamhjnewc6g48wheehp6r5tfopi5oycsniukhxfoaqvxtaggqt6xkce74hp4f22') {     //fine } else {     header("location: /iphone/error.php"); } ?> 

but redirecting error.php page though correct. strings long or there else wrong?

heres var_dump $_get:

errorarray(10) { ["index_php?c"]=> string(20) "knnkvlo4rokpvvtxucdu" ["bhsirf"]=> string(20) "q8ip6okrtaocjccgpb94" ["9froifhew3"]=> string(20) "ux9xi0vjkfzietvs6rtt" ["40289njgw"]=> string(20) "we80l1rxdpiqj4enl3qm" ["adjoirtgerg^%£fd"]=> string(20) "ozs60iysc1vd9qgvdzip" ["jorw4958fq£$"]=> string(40) "2kbck7exrnmzlymhddkhvm2e3j4sndtmo8ho2ag6" ["ffjg^gddfgn2ffghe"]=> string(60) "8futcatzkbf1vyqpcornk8lok4erpt43xoegnvtbyli9c1riintwvwvshxkn" ["a@@^e383fhrefggew"]=> string(40) "48bfy4u6bbycmqlhnvfk2kbck7exrnmzlymhddkh" ["fghdfb_fewfrgopewfrwgreg"]=> string(100) "gbbykubaek7dcpq69m7zkxvga2aswiylrexouqdinysknnmhf0hhqhqgdmus9m3zy74em2nirubulws5xcpmghytg8we8f1y9ar2" ["gfiegrowu895743fdgtry£qt£%yewhfuigw9545trwtryegsgfnfht34o"]=> string(200) "vxbutfxodhxqshjzh9mqx4trfz38eaemm5eowckvgeh69yygwofjqi0y4je9gdhfrhdfhmc2tqtlb4lwweo47z5irep42qppeymllzx4yiflxpnz3g4gu384dqypno9c3ks2rggnevamhjnewc6g48wheehp6r5tfopi5oycsniukhxfoaqvxtaggqt6xkce74hp4f22" } 

dots , spaces in variable names converted underscores. example <input name="a.b" /> becomes $_get["a_b"] refer here


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -