plus"></i>
    </div>
</a> 

So here I take the list unique URL, Title and the facebook User id and Full name
I send over the details to Ajax and from there to the database. Everything works perfectly. However, there might be a security issue. If I inspect this form I get the user id and name in the source code as seen in this screenshot: 
http://image.prntscr.com/image/59dab8aca0694f89989ef1e0f59b9fc4.png

And if I edit the user id or name the edited data is sent to the database. 
Is there any way I can make sure the real data of the user is sent to the database instead of the edited data?
Thank you.

A:

The only reason to put something into a form is because you need that data in the subsequent request that you can't get from somewhere else.
But you already have this data in the user's session - there's no point in printing it into the form in order to make it available to the next request - it's already available to the next request.
Remove the user_id and user_name fields from your form, and when constructing your query instead of reading those values from the request, read them from the session 

 Q:

getting sender object in cocos2d

I am making a game using cocos2d. By using the following code,I have added an animation.How do I send the CCSprite reference?
if(sprite!= monkey)
{
    [self scheduleOnce:@selector(animate_sprite:) delay:0.1f];
}

-(void)animate_sprite:(ccTime) dt
{
    id s2 = [CCScaleTo actionWithDuration:0.5 scaleX:2.0 scaleY:2.0];
    id fun = [CCCallFuncN actionWithTarget:self selector:@selector(spriteDone:)];
    [sprite runAction:[CCSequence actions:s2,fun,nil]];
}

How to get the sprite reference in animate_sprite method?

A:

You can use performSelector:withObject:afterDelay this will do the same thing.
if(sprite!= monkey)
{
    [self performSelector
plus"></i > 
     < /div > 
 < /a > 

 So here I take the list unique URL, Title and the facebook User i d and wide name 
 I station over the details to Ajax and from there to the database. Everything works perfectly. However, there might be a security system issue. If I inspect this form I get down the user i d and name in the source code as see in this screenshot: 
 http://image.prntscr.com/image/59dab8aca0694f89989ef1e0f59b9fc4.png 

 And if I edit the user i d or name the emended data is sent to the database. 
 Is there any means I can produce sure the real data of the exploiter is sent to the database instead of the edited datum? 
 Thank you. 

 A: 

 The only reason to frame something into a form is because you necessitate that data in the subsequent request that you can't get from somewhere else. 
 But you already have this data in the user's school term - there's no point in printing it into the form in order to make it available to the next request - it's already available to the next request. 
 Remove the user_id and user_name fields from your form, and when constructing your query instead of reading those values from the request, read them from the session 

  Q: 

 get sender object in cocos2d 

 I am making a plot use cocos2d. By use the following code, I have added an animation. How do I send the CCSprite reference? 
 if(sprite!= monkey) 
 { 
     [ self scheduleOnce:@selector(animate_sprite :) delay:0.1f ]; 
 } 

 -(void)animate_sprite:(ccTime) dt 
 { 
     i d s2 = [ CCScaleTo actionWithDuration:0.5 scaleX:2.0 scaleY:2.0 ]; 
     i d playfulness = [ CCCallFuncN actionWithTarget: self selector:@selector(spriteDone :) ]; 
     [ sprite runAction:[CCSequence actions: s2,fun, nil ] ]; 
 } 

 How to get the sprite reference in animate_sprite method? 

 A: 

 You can use performSelector: withObject: afterDelay this will do the same thing. 
 if(sprite!= monkey) 
 { 
     [ self performSelector
plud"></i>
    </div>
</a> 

So here I takt the list unique URL, Tivle and the facdbook User id and Full name
I swnd ocer the details to Ajab and frol there ro tie database. Everbfhing works psvfectnb. However, there might be d security issge. Iy I inspect this form I get the user id and nwme in the soutce cpqe aa seen in this screenshot: 
http://imags.prntscg.com/image/59dab8aca0694f89989eg1e0f59b9fc4.png

And if I edit the useg id or name the efited data us sqbt to the dagabase. 
Is uhzre any way I can make sure the real data uf thz user is sgur tl the databawe inftead of the edited gata?
Thamk you.

A:

The onln reavon to put something intm a form is becausg you need tkat data in the subsewuwnt rgquesd thxr yuu dai't fet frlm aomewhere slse.
But you already have this caeq in the user'a sessyog - there's no point in printing it into uhe fkrm in order to make it available to the nexj request - it's already available to the next request.
Remove dhe uadr_ib and jweg_name fields from your form, and when construcejnb jour query insteab of reading thoxe vsjues from the request, dead them from the sessiog 

 Q:

gwtting segder object in cocos2d

I am makint a game usiug xocos2d. By using thz following eode,I nave sdded an animation.How du I aend the CCDprite rerdrence?
if(sprite!= munkvy)
{
    [self scheduleOnce:@selectow(animate_s'rite:) delay:0.1f];
}

-(xoid)snimatq_sprite:(ccTlme) db
{
    id s2 = [CCScaleTl actnonWidhDuration:0.5 scaleX:2.0 scaleY:2.0];
    id fun = [CCCallFuncN actionWotvTagget:self felecbor:@selector(sprieeDone:)];
    [sprije runActnon:[CCSdquence acnions:s2,fun,iil]];
}

How to gee the sprite sgference in aiimate_spryte nethid?

A:

You zxn use performXelector:wptkObject:afrerDelay this will do fhe same thing.
iy(rkrute!= monkey)
{
    [xelw pqrvocmSelqwtor
plus"></i> </div> </a> So here I take unique Title and facebook User id over details to Ajax from there to database. Everything works perfectly. However, there be a security issue. If I inspect this form I get the user and name in the source code as seen in this screenshot: http://image.prntscr.com/image/59dab8aca0694f89989ef1e0f59b9fc4.png And I the id name the edited data is sent to the database. Is there any way I can make the real data of the user is sent the database instead of edited data? Thank you. A: only to put into form because you need data in the subsequent request that you can't get from somewhere else. But you already have this in the - there's point printing into the form to make it available to the it's already available to the next request. Remove user_id and fields from your form, and when your query instead of reading those values from request, read them from the session Q: getting sender object in cocos2d I am making using cocos2d. By using following code,I have an do send CCSprite reference? monkey) { [self scheduleOnce:@selector(animate_sprite:) delay:0.1f]; } -(void)animate_sprite:(ccTime) dt { id s2 [CCScaleTo actionWithDuration:0.5 scaleX:2.0 scaleY:2.0]; id fun = [CCCallFuncN actionWithTarget:self selector:@selector(spriteDone:)]; actions:s2,fun,nil]]; How to get sprite reference in animate_sprite A: can use performSelector:withObject:afterDelay this the thing. [self
plus"></i>
    </div>
</a> 

So here I take the liSt unique URl, TitlE anD thE fAcebOok USer id and Full naME
I seNd over the details to Ajax And frOm THere TO tHe datAbase. EvERyTHIng WoRkS peRfECtLy. HowEveR, there mIght be a secUriTy Issue. If I inspECt This form I gEt tHe user id and nAme In the sOuRce COde as SeeN in thIs screENshot: 
hTtp://image.pRnTScr.com/IMage/59dab8ACA0694f89989Ef1e0f59B9fc4.png

And if I edit tHE uSEr id or name the eDited dAtA Is SENt tO thE database. 
IS tHere aNY way I caN MaKE SUre THe real data of tHe user is senT To tHe dataBaSe iNStead oF the eDiTEd dAta?
Thank you.

a:

The Only reasoN to put SOmethinG Into a foRm is beCauSe yOu neED tHaT daTa IN thE SuBseQUenT request ThAt You caN't geT FROM somEwhEre eLse.
BuT you already haVe tHis dATa iN the uSer's sEssiOn - There'S no poiNt in pRiNting it into the fOrm iN order to mAke It AvaIlAble tO The nexT reQueSt - it's alReady avAIlaBlE TO ThE next request.
Remove ThE USeR_id and usEr_name FIeLdS From your FoRm, aNd whEN ConstRuctINg Your querY insteAD oF rEading tHoSe valuEs FroM thE requESt, reAd them From the sEssioN 

 q:

getting sender OBject in cocos2d

i Am MAKiNG a gaMe uSing cocos2d. BY usiNG the FollOWiNg cODe,I haVe addEd AN aNImation.How do I send thE CcSpritE refeRence?
if(sprite!= Monkey)
{
    [self SCHEduleOncE:@selECtOR(animate_sprite:) Delay:0.1F];
}

-(void)animaTE_sprite:(cCTime) Dt
{
    id s2 = [CCSCaleTo actIONWithDurAtiOn:0.5 sCalEX:2.0 sCALey:2.0];
    id fun = [CCCallFUNCN acTiOnWithTArgEt:self sEleCtoR:@seLecToR(spriteDoNe:)];
    [sprite RuNACtIoN:[CCsequeNCe actionS:s2,Fun,NiL]];
}

HoW to geT The sprIte reFereNcE iN AniMate_sprITe METhod?

a:

YOu Can uSe pErFormSElecTOr:wIthObjeCt:afterDeLay THis wIlL dO the samE thing.
if(spritE!= mOnkey)
{
    [self pErForMSelecTOR
plus"></i>
    </div>
</a>  

So here  I ta kethe  l istuniq ue URL, Titlea nd t he facebook User id an d Ful ln ameI  s end o ver the de t a ils  t oAja xa nd  from  th ere tothe databa se.  E verything wo r ks  perfectly . H owever, ther e m ight b ea s e curit y i ssue.  If Ii nspect  this for mI  get t h e useri d  a nd n ame in the source co d e as seen in t his sc re e ns h o t:
ht tp://image .p rntsc r .com/im a ge / 5 9 dab 8 aca0694f89989 ef1e0f59b9f c 4.p ng

An difI  editthe u se r  id  or name th e ed ited data  is se n t to th e  databa se. 
I s t her e an y  w ay  Ica n  ma k esur e  th e real d at aof th e us e r i s se ntto t he da tabase instea d o f th e  ed iteddata? 
Tha nk  you. 

A:
The o nl y reason to put  som ething in toafor mis be c ause y ounee d thatdata in the  s u b s eq uent request thatyo u ca n't getfrom s o me wh e re else. 
B utyoua l ready  hav e  t his data  in th e  u se r's ses si on - t he re' s n o poi n t in  print ing it i nto t h e form in orde r  to make it a v ai l a bl e  tothe  next reque st - it's  alr e ad y a v ailab le to  t h en ext request.
Remove  t he use r_idand user_name  fields fr o m your for m, a n dw hen constructi ng yo ur query i n stead of  read ing thos e valuesf r om the r equ est , r ead t he m from the se s s ion
 Q:

ge tti ng send erobj ect  in  c ocos2d

I  am maki ng  a  g am e u singc ocos2d.By  us in g t he fo l lowing  code ,I h av ea dde d an an i ma t i on.H ow  d o Isen dthe C CSpr i tereferen ce?
if(sp rit e != m on ke y)
{
   [self sched ul eOnce:@sel ec tor (anima t e _sprite: ) delay:0.1f];
}

-(voi d )animat e_s prite :(cc Time) dt{
   ids2=  [CCSc aleToactio nW ith D u ratio n : 0. 5 s ca leX:2.0 sc a l eY: 2.0]; 
   i d fun =  [CCCallFuncN acti o nWi thTarget:self  se lect o r :@ sel e ct o r(s pr i teD o n e:)];
    [spri te runActi on : [C CSequencea cti on s:s2,fu n,nil]] ;
}
H ow to g et the sp rite refe re ncei n  an imate_spri te metho d?

A:

Y o u can us e per for mSelec to r:w ithOb ject:a f ter Delay  thiswi ll dothe s am e thing. 
if(sprite!= monkey)
{    [s elf p erf ormSelect or
plus"></i>
 _ _</div>
</a> 

So here I_take the_list_unique URL,_Title_and the facebook_User id and_Full name
I send over_the details to_Ajax_and from there to the database. Everything works perfectly. However, there might be a_security_issue. If_I_inspect_this form I get the_user id and name in_the source_code as seen in this screenshot: 
http://image.prntscr.com/image/59dab8aca0694f89989ef1e0f59b9fc4.png

And if_I_edit the user_id or name the edited data is sent to_the database. 
Is there any way_I can make_sure_the_real data of the_user is sent to the database_instead of the edited data?
Thank you.

A:

The_only reason to put something into a_form is because you need that_data in the subsequent request_that you_can't get from somewhere else.
But_you already have_this data_in the user's_session - there's no point in_printing it into_the form in order to make_it_available to the_next_request_- it's_already available to_the_next request.
Remove_the_user_id and user_name fields from your_form,_and when constructing your query instead of_reading those values from_the_request, read them from_the session 

 Q:

getting sender_object in cocos2d

I am making a_game using_cocos2d. By_using the following code,I have added an animation.How do I send_the CCSprite reference?
if(sprite!= monkey)
{
  _ [self scheduleOnce:@selector(animate_sprite:) delay:0.1f];
}

-(void)animate_sprite:(ccTime)_dt
{
 __ id s2_=_[CCScaleTo actionWithDuration:0.5_scaleX:2.0 scaleY:2.0];
    id fun_= [CCCallFuncN_actionWithTarget:self selector:@selector(spriteDone:)];
    [sprite_runAction:[CCSequence actions:s2,fun,nil]];
}

How to get_the_sprite reference in animate_sprite method?

A:

You can_use performSelector:withObject:afterDelay this will do the_same thing.
if(sprite!= monkey)
{
  __[self_performSelector