I want to hide my database fields and make it harder for people trying to spam me or hack it
On Mar 14, 5:08 pm, euromark <[email protected]> wrote: > the question is > what do you want to achieve with this? other than making your life a > hell of a lot more difficult as a developer > > On 14 Mrz., 23:45, arron <[email protected]> wrote: > > > I have a form > > > <?= $form->create(info );?> > > <?= $form->input('FirstOwner.fname');?> > > <?= $form->input('FirstOwner.lname');?> > > <?= $form->input('FirstOwner.first_owner_title');?> > > <?= $form->input('FirstOwner.first_owner_precentage');?> > > <?= $form->input('FirstOwner.first_home_address');?> > > <?= $form->input('FirstOwner.first_owner_city');?> > > <?= $form->input('FirstOwner.first_owner_state');?> > > <?= $form->input('FirstOwner.first_owner_zip');?> > > <?= $form->end(); ?> > > > The html output is > > > <div class="input text"><label for="FirstOwnerFname">Fname</ > > label><input name="data[FirstOwner][fname]" type="text" > > maxlength="255" value="" id="FirstOwnerFname" /></div> <div > > class="input text"><label for="FirstOwnerLname">Lname</label><input > > name="data[FirstOwner][lname]" type="text" maxlength="255" value="" > > id="FirstOwnerLname" /></div> > > > how can i obfuscate/hash the id name and id? > > > I want it to produces something like > > > <div class="input text"><label for="FirstOwnerFname">Fname</ > > label><input name="5sdf65sf6g56asdf56as" type="text" maxlength="255" > > value="" id="asd45a5sd4a5sd45ad" / > > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
