php-general Digest 11 Aug 2010 10:27:20 -0000 Issue 6888

2010-08-11 Thread php-general-digest-help
php-general Digest 11 Aug 2010 10:27:20 - Issue 6888 Topics (messages 307390 through 307396): Variable variables into an array. 307390 by: Richard Quadling 307392 by: Jim Lucas 307393 by: Richard Quadling 307394 by: Andrew Ballard 307396 by: Richard

php-general Digest 11 Aug 2010 22:50:32 -0000 Issue 6889

2010-08-11 Thread php-general-digest-help
php-general Digest 11 Aug 2010 22:50:32 - Issue 6889 Topics (messages 307397 through 307401): Re: Variable variables into an array. 307397 by: Bob McConnell 307398 by: Richard Quadling protecting a directory by php mysql 307399 by: Ali Asghar Toraby Parizy

Re: [PHP] Variable variables into an array.

2010-08-11 Thread Richard Quadling
On 10 August 2010 18:08, Andrew Ballard aball...@gmail.com wrote: On Tue, Aug 10, 2010 at 12:23 PM, Richard Quadling rquadl...@gmail.com wrote: On 10 August 2010 16:49, Jim Lucas li...@cmsws.com wrote: Richard Quadling wrote: Hi. Quick set of eyes needed to see what I've done wrong...

RE: [PHP] Variable variables into an array.

2010-08-11 Thread Bob McConnell
From: Richard Quadling Quick set of eyes needed to see what I've done wrong... The following is a reduced example ... ?php $Set = array(); $Entry = 'Set[1]'; ^^ Shouldn't that be $Set[1]? $Value = 'Assigned'; $$Entry = $Value; print_r($Set); ? Bob McConnell -- PHP

Re: [PHP] Variable variables into an array.

2010-08-11 Thread Richard Quadling
On 11 August 2010 13:58, Bob McConnell r...@cbord.com wrote: From: Richard Quadling Quick set of eyes needed to see what I've done wrong... The following is a reduced example ... ?php $Set = array(); $Entry = 'Set[1]';            ^^ Shouldn't that be $Set[1]? $Value = 'Assigned';

[PHP] protecting a directory by php mysql

2010-08-11 Thread Ali Asghar Toraby Parizy
Hi. I need a protected directory in my server that only the authenticated user can reach all files in that folder(file type is zip and picture or a web page, maybe). I save user ID and passwords in mysql database. today I tried to use htaccess but mod_auth_mysql isn't installed on my server. I

Re: [PHP] protecting a directory by php mysql

2010-08-11 Thread Ashley Sheridan
On Thu, 2010-08-12 at 02:02 +0430, Ali Asghar Toraby Parizy wrote: Hi. I need a protected directory in my server that only the authenticated user can reach all files in that folder(file type is zip and picture or a web page, maybe). I save user ID and passwords in mysql database. today I

[PHP] Encryption/Decryption Question

2010-08-11 Thread tedd
Hi gang: Okay, a question to the Encryption/Decryption gurus out there. If you were given: 1. This encrypted string: p3IVhDBT26i+p4vd7J4fAw== 2. Were told it was a social security number (i.e., in the form of 123-45-6789). 3. And it had been generated from this code: $cipher =

Re: [PHP] Encryption/Decryption Question

2010-08-11 Thread Josh Kehn
On Aug 11, 2010, at 6:50 PM, tedd wrote: Hi gang: Okay, a question to the Encryption/Decryption gurus out there. If you were given: 1. This encrypted string: p3IVhDBT26i+p4vd7J4fAw== 2. Were told it was a social security number (i.e., in the form of 123-45-6789). 3. And it

Re: [PHP] Encryption/Decryption Question

2010-08-11 Thread Bastien Koert
From my experience, I'd have to say that it would be a real tough go to crack that. If there was a weak point in the scheme is that your end result pattern ( the ssn ) is defined with a pair of constants, the hyphens. In our scheme we remove the dashes and just provide a mask for display. We also

Re: [PHP] [site is acting strange] - blank pages, download index.php, or works fine

2010-08-11 Thread Tristan
Well if anyone cares to know what this problem was. We have no idea. We duplicated the sites templates, docroot, site is still using same shared plugins it was before, javascript, etc... The only thing that is different is that it is on a new doc root and new subdomain, members2.myhomegrown.com