Re: Going back to the page after changes
Anyone have any suggestions? On Sunday, October 19, 2014 9:11:06 AM UTC-5, Steven Scaffidi wrote: > > Hi - If I have a list of articles and someone makes a change to one of > those articles on page 2 for example. How can I redirect the user back to > page 2 after the change? I've tried using > $this->redirect($this->referer()); but that doesn't seem to work. Any help > is greatly appreciated. > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
Going back to the page after changes
Hi - If I have a list of articles and someone makes a change to one of those articles on page 2 for example. How can I redirect the user back to page 2 after the change? I've tried using $this->redirect($this->referer()); but that doesn't seem to work. Any help is greatly appreciated. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
Multiple Forms on the same form
Let's say I had a model called factory, and I wanted to add multiple workcenters to the factory. When I go to add a new factory, I want a button on the bottom of my form that says add workcenter. I want that button to be always there just in case they want to add multiple work centers. I don't want the form for workcenter to appear until they click the button add workcenter. How can I accomplish this? -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Image Upload
Hi I'm trying to create an image upload form in CakePHP. How do I do this without a plugin? Is there a simple way? I don't need any validation or advanced functionality - just looking for the simplest method. Any suggestions? I have a table with 7 fields. 1 of them is the photo field. Thanks, Steven -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
960 Fluid Theme
Hi I'm trying to use the 960 fluid theme in my cake app. I can't get it to work, however. It keep complaining that I need a CakemenuHelper. Any ideas? The theme is found here: https://github.com/snelweg/CakePHP-960-fluid I'm following the readme instructions... -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Numbers cutting off after comma
Ok nevermind I changed the fields to INT and now they work fine. One more question is there a way to change the defaults on the number helper. For example, when I say $this->Number->currency($price); Is there a way I can set the places to 0 by default instead of 2? On Saturday, July 28, 2012 8:53:57 PM UTC-5, Steven Scaffidi wrote: > > Hi, > > I have an form and one of the inputs is price. So if someone enters 1,500 > then for some reason it's cutting off the numbers after the comma. I looked > at the print_r for $this->request->data and it shows the price as 1,500. > Any ideas why it's cutting it off once it gets to the MySQL database. I > have the field as a varchar. Should I make it an int? > > Steven > -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Numbers cutting off after comma
Hi, I have an form and one of the inputs is price. So if someone enters 1,500 then for some reason it's cutting off the numbers after the comma. I looked at the print_r for $this->request->data and it shows the price as 1,500. Any ideas why it's cutting it off once it gets to the MySQL database. I have the field as a varchar. Should I make it an int? Steven -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: How can I add months to a date?
This is what I have going on. $con_period = ceil($d['Option']['con_period']); $ebegin_date = strtotime("+$con_period months", strtotime($d['Project'][ 'begin_date'])); $ebgin_date = date('Y-m-d', $ebegin_date); $d['Expense']['0']['begin_date'] = $ebegin_date; This is what $d looks like when I hit submit. Notice the two begin dates below. Array ( [Project] => Array ( [name] => Test 1212 [address] => 412 Dolhonde St [city] => Gretna [state_id] => 19 [zip] => 70065 [price] => 5 [gross_sqft] => 1000 [condition_id] => 2 [location_id] => 4 [ptype_id] => 4 [begin_date] => 2012-07-04 [notes] => [user_id] => 4 )[Expense] => Array ( [0] => Array ( [name] => Antcipated Expenses [type] => 1 [cost] => 0 [begin_date] => 1362376800 ) ) ) On Wednesday, July 4, 2012 3:44:05 AM UTC-5, Mike Griffin wrote: > > On Wed, Jul 4, 2012 at 6:29 AM, Steven Scaffidi > wrote: > > I want to be able to add a certain amount of months to date. Basically I > > have a from in order to start a new product. In the form, there is a > begin > > date that the user select (this is a date). I want to add a variable > amount > > of months to that date and then save that date into another field. How > can I > > do this? > > > > date("m", strtotime("+3 months")); > will give you the month number for three months in to the future. > > Something like > $future = "+2 weeks"; > date("Y-m-d", strtotime($future)); > will give you the date two weeks in to the future. > > You might be able to work something out from these. > Mike. > -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
How can I add months to a date?
I want to be able to add a certain amount of months to date. Basically I have a from in order to start a new product. In the form, there is a begin date that the user select (this is a date). I want to add a variable amount of months to that date and then save that date into another field. How can I do this? Thanks, Steven -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: cakePHP Data into Google Charts
Hi phpMagpie - I followed your directions and I have my array formatted correctly as you described above in array named $chartData. I tried doing this: var data = google.visualization.arrayToDataTable([".join(',', $chartData)."]); But chart doesn't graph at all...Is there something I'm doing wrong? On Friday, March 30, 2012 9:57:50 AM UTC-5, phpMagpie wrote: > > I've outputted some charts (combocharts - near identical to column chart) > using the visualization api and got the model to output an array like: > > Array > ( > [labels] => Array > ( > [0] => Age > [1] => Clients > [2] => Not Offered > [3] => Accepted Offer > [4] => Declined Offer > ) > > [16] => Array > ( > [0] => 16 > [1] => 10 > [2] => 7 > [3] => 5 > [4] => 0 > ) > > [17] => Array > ( > [0] => 17 > [1] => 27 > [2] => 22 > [3] => 13 > [4] => 4 > ) > > [18] => Array > ( > [0] => 18 > [1] => 13 > [2] => 8 > [3] => 7 > [4] => 2 > ) > > [19] => Array > ( > [0] => 19 > [1] => 12 > [2] => 6 > [3] => 6 > [4] => 1 > ) > > [20] => Array > ( > [0] => 20 > [1] => 8 > [2] => 2 > [3] => 6 > [4] => 0 > ) > > [21] => Array > ( > [0] => 21 > [1] => 7 > [2] => 4 > [3] => 3 > [4] => 0 > ) > > ) > > I then ran this through the following > foreach($arrayFromModel AS $row) { > $chartData[] = json_encode($row); > } > > and ended up with: > Array > ( > [0] => ["Age","Clients","Not Offered","Accepted Offer","Declined > Offer"] > [1] => ["16",10,7,5,0] > [2] => ["17",27,22,13,4] > [3] => ["18",13,8,7,2] > [4] => ["19",12,6,6,1] > [5] => ["20",8,2,6,0] > [6] => ["21",7,4,3,0] > ) > > With an array of this type you use the following google function to get > your data table: > var data = google.visualization.arrayToDataTable([".join(',', > $chartData)."]); > > Hope this is of some help, phpMagpie > -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: User Management Plugin Cakephp 2
Thank you for the advice. I honestly just want to see how they do the email confirmation, lost passwords, and all of that stuff. I will be developing my own ACL app. On Tuesday, May 8, 2012 10:55:26 AM UTC-5, Điển vũ wrote: > > https://github.com/cakedc > search *users* , this plugin is stable at 95% , 5% isn't stable . but it > is good, you can see and get code from it . > Now , it is best, if you develop users magnagement for yourself. Then you > can easier to fix any errors happen. > -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
User Management Plugin Cakephp 2
Hi I'm using a user management plugin for cakephp. The one I'm using can be found here: http://usermgmt.ektasoftwares.com/ Has anyone ever used this plugin? For some reason I can't get the permissions to work. For example, I create another user (as a user not admin) and I gave users permission to edit their profile through the admin side. However, when I go to the user side I can't edit my profile - it just says access denied and tells me to go back to the dashboard...I checked the database in myphpadmin and the table seems to be correct for the particular row I'm talking about. I don't understand why it isn't working. If anyone can help with this problem or just recommend another plugin similar I'd really appreciate it. -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Cakephp SSN Encryption
Just in case anyone found this useful here is an update. This finally worked: $ssns = $this->User->query("SELECT id, ssn_temp FROM users as User ORDER BY id"); foreach ($ssns as $i) { $this->User->id = $i['User']['id']; $this->User->saveField('ssn', $i['User']['ssn_temp']); } Also be sure to put set_time_limit(0); in your bootstrap.php file. Thanks for all the help Justin. On Wednesday, May 2, 2012 4:02:03 PM UTC-5, Justin Edwards wrote: > > You can do it in batches. You can also set the timeout. > http://php.net/manual/en/function.set-time-limit.php > > 'conditions' => array('User.id <' => '200') > > > On Wed, May 2, 2012 at 3:39 PM, Steven Scaffidi wrote: > >> I created SSN through using regular sql and just literally copying whats >> in the ssn field to the ssn_temp field. And then, this would work if it >> didn't time out on me. How can I change the timeout time? There has to be a >> better way to do this though. >> >> public function encryptssn() { >> $ssns = $this->User->find('list', array('fields' => array('id', >> 'ssn_temp'))); >> $j = 1; >> foreach ($ssns as $i) { >> $this->User->id = $j; >> $this->User->saveField('ssn', $i); >> $j++; >> } >> $this->redirect(array('action' => 'index')); >> } >> >> On Wednesday, May 2, 2012 3:03:46 PM UTC-5, Steven Scaffidi wrote: >>> >>> Can you give me a specific example of how to use saveMany? I have 4000 >>> clients in my database. Can I create another encrypted field in the >>> database (say ssn_temp) then do something like this: >>> >>> $this->User->saveMany(array(**array('ssn_temp' => array('User' => >>> 'ssn'; >>> >>> Would something like that work? I'm really confused by the documentation >>> on saveMany >>> >>> On Tuesday, May 1, 2012 2:51:50 PM UTC-5, Justin Edwards wrote: >>>> >>>> Sorry temp table* not temp folder >>>> >>>> On Tue, May 1, 2012 at 7:51 PM, Justin Edwards < >>>> justinledwa...@gmail.com> wrote: >>>> >>>>> Steven, >>>>> >>>>> Create a controller method. >>>>> >>>>> Find the data from the temp folder set it to a variable, and then >>>>> saveMany from the variable to the encrypted table. >>>>> >>>>> http://book.cakephp.org/2.0/**en/models/saving-your-data.** >>>>> html#model-savemany-array-**data-null-array-options-array<http://book.cakephp.org/2.0/en/models/saving-your-data.html#model-savemany-array-data-null-array-options-array> >>>>> >>>>> >>>>> >>>>> On Tue, May 1, 2012 at 7:18 PM, Steven Scaffidi wrote: >>>>> >>>>>> Ok I have the data migrated already (I probably should have used >>>>>> something like pentaho instead of writing my own queries but oh well). >>>>>> How >>>>>> do I use cake's encryption function on the data? >>>>>> >>>>>> On Tuesday, May 1, 2012 2:07:56 PM UTC-5, Justin Edwards wrote: >>>>>>> >>>>>>> I would migrate it using pentaho. Then you can run cake's >>>>>>> encryption function on the data. You could make a temporary table >>>>>>> /model >>>>>>> and then append it to the production table. >>>>>>> >>>>>>> On Tue, May 1, 2012 at 7:01 PM, Steven Scaffidi >>>>>>> wrote: >>>>>>> >>>>>>>> Thanks for the plugin that worked great. I still don't understand >>>>>>>> how >>>>>>>> to use pentaho though to encrypt social security numbers listed in >>>>>>>> the >>>>>>>> access database. >>>>>>>> >>>>>>>> On Apr 30, 5:28 pm, Justin Edwards >>>>>>>> wrote: >>>>>>>> > #1http://bakery.cakephp.org/**ar**ticles/jmillerdesign/2011/**12/ >>>>>>>> **29/cipher_pl.<http://bakery.cakephp.org/articles/jmillerdesign/2011/12/29/cipher_pl.> >>>>>>>> .. >>>>>>>> > #2http://www.pentaho.com/**downl**oad/<
Re: Cakephp SSN Encryption
I created SSN through using regular sql and just literally copying whats in the ssn field to the ssn_temp field. And then, this would work if it didn't time out on me. How can I change the timeout time? There has to be a better way to do this though. public function encryptssn() { $ssns = $this->User->find('list', array('fields' => array('id', 'ssn_temp'))); $j = 1; foreach ($ssns as $i) { $this->User->id = $j; $this->User->saveField('ssn', $i); $j++; } $this->redirect(array('action' => 'index')); } On Wednesday, May 2, 2012 3:03:46 PM UTC-5, Steven Scaffidi wrote: > > Can you give me a specific example of how to use saveMany? I have 4000 > clients in my database. Can I create another encrypted field in the > database (say ssn_temp) then do something like this: > > $this->User->saveMany(array(array('ssn_temp' => array('User' => 'ssn'; > > Would something like that work? I'm really confused by the documentation > on saveMany > > On Tuesday, May 1, 2012 2:51:50 PM UTC-5, Justin Edwards wrote: >> >> Sorry temp table* not temp folder >> >> On Tue, May 1, 2012 at 7:51 PM, Justin Edwards >> wrote: >> >>> Steven, >>> >>> Create a controller method. >>> >>> Find the data from the temp folder set it to a variable, and then >>> saveMany from the variable to the encrypted table. >>> >>> >>> http://book.cakephp.org/2.0/en/models/saving-your-data.html#model-savemany-array-data-null-array-options-array >>> >>> >>> >>> On Tue, May 1, 2012 at 7:18 PM, Steven Scaffidi wrote: >>> >>>> Ok I have the data migrated already (I probably should have used >>>> something like pentaho instead of writing my own queries but oh well). How >>>> do I use cake's encryption function on the data? >>>> >>>> On Tuesday, May 1, 2012 2:07:56 PM UTC-5, Justin Edwards wrote: >>>>> >>>>> I would migrate it using pentaho. Then you can run cake's encryption >>>>> function on the data. You could make a temporary table /model and then >>>>> append it to the production table. >>>>> >>>>> On Tue, May 1, 2012 at 7:01 PM, Steven Scaffidi wrote: >>>>> >>>>>> Thanks for the plugin that worked great. I still don't understand how >>>>>> to use pentaho though to encrypt social security numbers listed in the >>>>>> access database. >>>>>> >>>>>> On Apr 30, 5:28 pm, Justin Edwards wrote: >>>>>> > #1http://bakery.cakephp.org/**articles/jmillerdesign/2011/** >>>>>> 12/29/cipher_pl.<http://bakery.cakephp.org/articles/jmillerdesign/2011/12/29/cipher_pl.> >>>>>> .. >>>>>> > #2http://www.pentaho.com/**download/<http://www.pentaho.com/download/> >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > On Mon, Apr 30, 2012 at 4:46 PM, Steven Scaffidi >>>>>> wrote: >>>>>> > > Hi - I'm looking for information on how to encrypt data in >>>>>> Cakephp. My >>>>>> > > employer had a client management system built in Microsoft >>>>>> Access, and >>>>>> > > I recently took that application and put it on a web-based space >>>>>> built >>>>>> > > in cake. I need to now two things: >>>>>> > >>>>>> > > #1 How can I encrypt social security numbers from new clients >>>>>> coming >>>>>> > > into the system? I'm encrypting passwords right now, but I'm not >>>>>> sure >>>>>> > > how to do social security numbers. >>>>>> > >>>>>> > > #2 How do I take social security numbers that are currently >>>>>> listed in >>>>>> > > Microsoft Access with no encryption and put them into the MySQL >>>>>> > > database encrypted? >>>>>> > >>>>>> > > Thanks for the help, >>>>>> > >>>>>> > > Steven >>>>>> > >>>>>> > > -- >>>>>> >
Re: Cakephp SSN Encryption
Can you give me a specific example of how to use saveMany? I have 4000 clients in my database. Can I create another encrypted field in the database (say ssn_temp) then do something like this: $this->User->saveMany(array(array('ssn_temp' => array('User' => 'ssn'; Would something like that work? I'm really confused by the documentation on saveMany On Tuesday, May 1, 2012 2:51:50 PM UTC-5, Justin Edwards wrote: > > Sorry temp table* not temp folder > > On Tue, May 1, 2012 at 7:51 PM, Justin Edwards > wrote: > >> Steven, >> >> Create a controller method. >> >> Find the data from the temp folder set it to a variable, and then >> saveMany from the variable to the encrypted table. >> >> >> http://book.cakephp.org/2.0/en/models/saving-your-data.html#model-savemany-array-data-null-array-options-array >> >> >> >> On Tue, May 1, 2012 at 7:18 PM, Steven Scaffidi wrote: >> >>> Ok I have the data migrated already (I probably should have used >>> something like pentaho instead of writing my own queries but oh well). How >>> do I use cake's encryption function on the data? >>> >>> On Tuesday, May 1, 2012 2:07:56 PM UTC-5, Justin Edwards wrote: >>>> >>>> I would migrate it using pentaho. Then you can run cake's encryption >>>> function on the data. You could make a temporary table /model and then >>>> append it to the production table. >>>> >>>> On Tue, May 1, 2012 at 7:01 PM, Steven Scaffidi wrote: >>>> >>>>> Thanks for the plugin that worked great. I still don't understand how >>>>> to use pentaho though to encrypt social security numbers listed in the >>>>> access database. >>>>> >>>>> On Apr 30, 5:28 pm, Justin Edwards wrote: >>>>> > #1http://bakery.cakephp.org/**articles/jmillerdesign/2011/** >>>>> 12/29/cipher_pl.<http://bakery.cakephp.org/articles/jmillerdesign/2011/12/29/cipher_pl.> >>>>> .. >>>>> > #2http://www.pentaho.com/**download/<http://www.pentaho.com/download/> >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > On Mon, Apr 30, 2012 at 4:46 PM, Steven Scaffidi >>>>> wrote: >>>>> > > Hi - I'm looking for information on how to encrypt data in >>>>> Cakephp. My >>>>> > > employer had a client management system built in Microsoft Access, >>>>> and >>>>> > > I recently took that application and put it on a web-based space >>>>> built >>>>> > > in cake. I need to now two things: >>>>> > >>>>> > > #1 How can I encrypt social security numbers from new clients >>>>> coming >>>>> > > into the system? I'm encrypting passwords right now, but I'm not >>>>> sure >>>>> > > how to do social security numbers. >>>>> > >>>>> > > #2 How do I take social security numbers that are currently listed >>>>> in >>>>> > > Microsoft Access with no encryption and put them into the MySQL >>>>> > > database encrypted? >>>>> > >>>>> > > Thanks for the help, >>>>> > >>>>> > > Steven >>>>> > >>>>> > > -- >>>>> > > Our newest site for the community: CakePHP Video Tutorials >>>>> > >http://tv.cakephp.org >>>>> > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd >>>>> help >>>>> > > others with their CakePHP related questions. >>>>> > >>>>> > > To unsubscribe from this group, send email to >>>>> > > cake-php+unsubscribe@**googlegroups.comFor >>>>> > > more options, visit this group >>>>> > > athttp://groups.google.com/**group/cake-php<http://groups.google.com/group/cake-php> >>>>> >>>>> -- >>>>> 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 >>>>> cake-php+unsubscribe@**googlegroups.comFor >>>>> more options, visit this group at >>>>> http://groups.google.com/**group/cake-php<http://groups.google.com/group/cake-php> >>>>> >>>> >>>> -- >>> 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 >>> cake-php+unsubscr...@googlegroups.com For more options, visit this >>> group at http://groups.google.com/group/cake-php >>> >> >> > -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Cakephp SSN Encryption
Ok I have the data migrated already (I probably should have used something like pentaho instead of writing my own queries but oh well). How do I use cake's encryption function on the data? On Tuesday, May 1, 2012 2:07:56 PM UTC-5, Justin Edwards wrote: > > I would migrate it using pentaho. Then you can run cake's encryption > function on the data. You could make a temporary table /model and then > append it to the production table. > > On Tue, May 1, 2012 at 7:01 PM, Steven Scaffidi wrote: > >> Thanks for the plugin that worked great. I still don't understand how >> to use pentaho though to encrypt social security numbers listed in the >> access database. >> >> On Apr 30, 5:28 pm, Justin Edwards wrote: >> > #1 >> http://bakery.cakephp.org/articles/jmillerdesign/2011/12/29/cipher_pl... >> > #2http://www.pentaho.com/download/ >> > >> > >> > >> > >> > >> > >> > >> > On Mon, Apr 30, 2012 at 4:46 PM, Steven Scaffidi >> wrote: >> > > Hi - I'm looking for information on how to encrypt data in Cakephp. My >> > > employer had a client management system built in Microsoft Access, and >> > > I recently took that application and put it on a web-based space built >> > > in cake. I need to now two things: >> > >> > > #1 How can I encrypt social security numbers from new clients coming >> > > into the system? I'm encrypting passwords right now, but I'm not sure >> > > how to do social security numbers. >> > >> > > #2 How do I take social security numbers that are currently listed in >> > > Microsoft Access with no encryption and put them into the MySQL >> > > database encrypted? >> > >> > > Thanks for the help, >> > >> > > Steven >> > >> > > -- >> > > Our newest site for the community: CakePHP Video Tutorials >> > >http://tv.cakephp.org >> > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help >> > > others with their CakePHP related questions. >> > >> > > To unsubscribe from this group, send email to >> > > cake-php+unsubscr...@googlegroups.com For more options, visit this >> group >> > > athttp://groups.google.com/group/cake-php >> >> -- >> 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 >> cake-php+unsubscr...@googlegroups.com For more options, visit this group >> at http://groups.google.com/group/cake-php >> > > -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Cakephp SSN Encryption
Thanks for the plugin that worked great. I still don't understand how to use pentaho though to encrypt social security numbers listed in the access database. On Apr 30, 5:28 pm, Justin Edwards wrote: > #1http://bakery.cakephp.org/articles/jmillerdesign/2011/12/29/cipher_pl... > #2http://www.pentaho.com/download/ > > > > > > > > On Mon, Apr 30, 2012 at 4:46 PM, Steven Scaffidi wrote: > > Hi - I'm looking for information on how to encrypt data in Cakephp. My > > employer had a client management system built in Microsoft Access, and > > I recently took that application and put it on a web-based space built > > in cake. I need to now two things: > > > #1 How can I encrypt social security numbers from new clients coming > > into the system? I'm encrypting passwords right now, but I'm not sure > > how to do social security numbers. > > > #2 How do I take social security numbers that are currently listed in > > Microsoft Access with no encryption and put them into the MySQL > > database encrypted? > > > Thanks for the help, > > > Steven > > > -- > > Our newest site for the community: CakePHP Video Tutorials > >http://tv.cakephp.org > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help > > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > > cake-php+unsubscr...@googlegroups.com For more options, visit this group > > athttp://groups.google.com/group/cake-php -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Cakephp SSN Encryption
Hi - I'm looking for information on how to encrypt data in Cakephp. My employer had a client management system built in Microsoft Access, and I recently took that application and put it on a web-based space built in cake. I need to now two things: #1 How can I encrypt social security numbers from new clients coming into the system? I'm encrypting passwords right now, but I'm not sure how to do social security numbers. #2 How do I take social security numbers that are currently listed in Microsoft Access with no encryption and put them into the MySQL database encrypted? Thanks for the help, Steven -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Help with saveAll
Ok I have 3 models: Users, Businesses, and Measures. These models are related as follows: Users hasMany Measures Users hasMany Businesses Businesses hasMany Measures Measures belongsTo Users, Businesses Businesses belongsTo Users So basically I have a user registration form and I need some measures to be associated to the business and some not to be associate to the business (if a business exist). All measures are associated to the user. So I have two ways that I've tried to do this and both produce no errors, however, both do not give the desired results. Method 1: http://bin.cakephp.org/view/884824868 ->Problems: Creates 2 records however the second record is exactly what I want. I need the business id in order to properly save the measures that are suppose to be associated with the business Method 2: http://bin.cakephp.org/view/244376883 ->Produces no errors however it does not properly save data to the business table or the measures table. Note however that you may be able to better understand what I'm doing in this method. Any help is very much appreciated. -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php