php-general Digest 29 Nov 2011 14:28:52 -0000 Issue 7590

2011-11-29 Thread php-general-digest-help
php-general Digest 29 Nov 2011 14:28:52 - Issue 7590 Topics (messages 315861 through 315871): Re: Finding and reading firefox bookmarks with PHP 315861 by: Paul M Foster Re: PHP run from console - automatic password input 315862 by: shiplu 315867 by: Peter

[PHP] Common way to store db-password of open session?

2011-11-29 Thread Andreas
Hi, is threre a most advisble way to store db-passwords of an open user-session? As far as I get it, a common login strategy is to let the user login by namepassword, check it, store a login=TRUE as php-session variable and later use a common dbuser+pw to query data provided login is TRUE.

Re: [PHP] PHPExcel

2011-11-29 Thread Ege Sertçetin
Wish I had heard PHPExcel before. I'm using a class to read excel files. Ege. Alinti Floyd Resler fres...@adex-intl.com Does anyone have much experience with PHPExcel? I'm having difficulties in getting multiple sheet workbooks to work properly. I haven't been able to find any

[PHP] Re: [PHP-WIN] 5.3.9RC2 and 5.4RC2

2011-11-29 Thread Tommy Pham
On Mon, Nov 28, 2011 at 1:34 AM, Pierre Joye pierre@gmail.com wrote: On Mon, Nov 28, 2011 at 5:51 AM, Tommy Pham tommy...@gmail.com wrote: Can someone please confirm if you're able to create/drop MySQL database on using phpMyAdmin with PHP 5.3.9RC2 or PHP5.4RC2? Please use the sqlsrv or

Re: [PHP] PHPExcel

2011-11-29 Thread Adam Balogh
Hi, *Heres the documentation:* http://phpexcel.codeplex.com/releases/view/45412#DownloadId=212183 In user doc: *4.2 Reading Only Named WorkSheets from a File* * * and you can get all the sheet names: http://www.auditbureau.org.au/a/Documentation/API/PHPExcel/PHPExcel.html#methodgetSheetNames

Re: [PHP] PHP run from console - automatic password input

2011-11-29 Thread Peter
Unfortunately, this method doesnt work. I algo tried working with pipes: #!/usr/bin/php -q ?php require_once(_cert-manage-functions.php); //$config = parse_ini_file(/var/www/config.ini, true); $userId = userCertId(fredfa); // create descriptors for R/W-pipes $descriptorspec = array( 0 =

Re: [PHP] PHP run from console - automatic password input

2011-11-29 Thread shiplu
Did you try -passin, -passout options of openssl command? See the man page here http://linux.die.net/man/1/openssl Specially the Pass phrase arguments section. -- Shiplu.Mokadd.im ImgSign.com | A dynamic signature machine Innovation distinguishes between follower and leader

[PHP] PayPal : Message Alert.

2011-11-29 Thread paypal
Dear Customer PayPal , From: pay...@paypal.com Subject: PayPal Online : Message Alert ! Resolution Center: Your account is limited. Regarding this, please follow the link below to resolve this issue: http://dtecables.com/www.paypal.com/account.htm PayPal - NUMBER: ID831959-PayPal/2011 Please

Re: [PHP] Common way to store db-password of open session?

2011-11-29 Thread Nilesh Govindarajan
On Tue 29 Nov 2011 01:34:08 PM IST, Andreas wrote: Hi, is threre a most advisble way to store db-passwords of an open user-session? As far as I get it, a common login strategy is to let the user login by namepassword, check it, store a login=TRUE as php-session variable and later use a

Re: [PHP] Common way to store db-password of open session?

2011-11-29 Thread Al
On 11/29/2011 7:40 AM, Nilesh Govindarajan wrote: On Tue 29 Nov 2011 01:34:08 PM IST, Andreas wrote: Hi, is threre a most advisble way to store db-passwords of an open user-session? As far as I get it, a common login strategy is to let the user login by namepassword, check it, store a

Re: [PHP] Auto CRUD Generator

2011-11-29 Thread Daniel Brown
On Sat, Nov 26, 2011 at 15:15, Muhammad Hassan Samee hassansa...@gmail.com wrote: is there any class/script that can  automatically create a CRUD [Create,Read,Update,Delete] grid table for any database table .? Search Google for Xataface. It's a full frontend which dynamically changes with

[PHP] Class instance pointers

2011-11-29 Thread Tim Streater
Is there any benefit to setting a pointer to a class instance to null before returning from a function? As in: function myfunc () { $p = new myclass (); // do stuff $p = null; } Thanks. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Class instance pointers

2011-11-29 Thread cimodev
Am 29.11.2011 16:56, schrieb Tim Streater: Is there any benefit to setting a pointer to a class instance to null before returning from a function? As in: function myfunc () { $p = new myclass (); // do stuff $p = null; } Thanks. No! In this case the GC will

Re: [PHP] Class instance pointers

2011-11-29 Thread Jim Lucas
On 11/29/2011 7:56 AM, Tim Streater wrote: Is there any benefit to setting a pointer to a class instance to null before returning from a function? As in: function myfunc () { $p = new myclass (); // do stuff $p = null; } Thanks. -- Cheers -- Tim

Re: Re: [PHP] Class instance pointers

2011-11-29 Thread Tim Streater
On 29 Nov 2011 at 17:01, cimodev cimo...@googlemail.com wrote: Am 29.11.2011 16:56, schrieb Tim Streater: Is there any benefit to setting a pointer to a class instance to null before returning from a function? As in: function myfunc () { $p = new myclass (); // do stuff

Re: [PHP] Common way to store db-password of open session?

2011-11-29 Thread Jim Lucas
On 11/29/2011 6:28 AM, Al wrote: On 11/29/2011 7:40 AM, Nilesh Govindarajan wrote: On Tue 29 Nov 2011 01:34:08 PM IST, Andreas wrote: Hi, is there a most advisable way to store db-passwords of an open user-session? As far as I get it, a common login strategy is to let the user login by

[PHP] Re: Retrieve subjectAltName from client certificate

2011-11-29 Thread Nelson Teixeira
I found a solution. It's a clumsy one, but it works. Well I considered that a certificate is encoded in base64. So I remove de the 1st and last lines, and decode it. Now we got a lot of binary information, but at least the info is there and readable, so we can search for it. I opened this data in

Re: [PHP] Apache's .htaccess issue with absolute addressing

2011-11-29 Thread Tamara Temple
Grega Leskovšek legr...@gmail.com wrote: That is problem on my skavt.net server, but also an issue of knowledge. I need to access my css/js/pic files with absolute addressing(starting with /) I can do this on my home server if I start from /var/www and not from /var/www/peace-refuge/, but

RE: [PHP] Auto CRUD Generator Xataface

2011-11-29 Thread Daevid Vincent
-Original Message- Search Google for Xataface. It's a full frontend which dynamically changes with database structure changes. http://xataface.com/videos is broken and therefore we can't view the demo, and nothing pisses me off more than a site that doesn't have a simple contact email

Re: [PHP] Auto CRUD Generator Xataface

2011-11-29 Thread Matijn Woudt
On Tue, Nov 29, 2011 at 9:44 PM, Daevid Vincent dae...@daevid.com wrote: -Original Message- Search Google for Xataface.  It's a full frontend which dynamically changes with database structure changes. http://xataface.com/videos is broken and therefore we can't view the demo, and

RE: [PHP] Auto CRUD Generator Xataface

2011-11-29 Thread Daevid Vincent
-Original Message- From: Matijn Woudt [mailto:tijn...@gmail.com] Sent: Tuesday, November 29, 2011 12:48 PM To: Daevid Vincent Cc: php-general-h...@lists.php.net; php-general@lists.php.net Subject: Re: [PHP] Auto CRUD Generator Xataface On Tue, Nov 29, 2011 at 9:44 PM, Daevid Vincent

Re: [PHP] Auto CRUD Generator Xataface

2011-11-29 Thread Matijn Woudt
On Tue, Nov 29, 2011 at 9:54 PM, Daevid Vincent dae...@daevid.com wrote: I think your PC is broken.. I can watch the videos just fine ;) I tried it in FF 3.6.24 as well as Chrome 15.0.874.121 m (is that really necessary Google?!) and lastly IE 8.0.7601.17514 (is that really necessary

Re: [PHP] Auto CRUD Generator Xataface

2011-11-29 Thread Jim Lucas
On 11/29/2011 12:54 PM, Daevid Vincent wrote: -Original Message- From: Matijn Woudt [mailto:tijn...@gmail.com] Sent: Tuesday, November 29, 2011 12:48 PM To: Daevid Vincent Cc: php-general-h...@lists.php.net; php-general@lists.php.net Subject: Re: [PHP] Auto CRUD Generator

Re: [PHP] PHP run from console - automatic password input

2011-11-29 Thread Peter
passin and passout are not userd during -revoke They are used to give parameters to create the certificate and give it the above parameters. But, I think i managed to bypass the problem. I wrote a shell script using expect, after 30 minutes of fighting, script does what I want it to. It takes a

Re: [PHP] Auto CRUD Generator Xataface

2011-11-29 Thread Bastien Koert
On Tue, Nov 29, 2011 at 4:13 PM, Jim Lucas li...@cmsws.com wrote: On 11/29/2011 12:54 PM, Daevid Vincent wrote: -Original Message- From: Matijn Woudt [mailto:tijn...@gmail.com] Sent: Tuesday, November 29, 2011 12:48 PM To: Daevid Vincent Cc: php-general-h...@lists.php.net;

Re: [PHP] Common way to store db-password of open session?

2011-11-29 Thread Tamara Temple
Jim Lucas li...@cmsws.com wrote: On 11/29/2011 6:28 AM, Al wrote: On 11/29/2011 7:40 AM, Nilesh Govindarajan wrote: On Tue 29 Nov 2011 01:34:08 PM IST, Andreas wrote: Hi, is there a most advisable way to store db-passwords of an open user-session? As far as I get it, a common login

Re: [PHP] PHP run from console - automatic password input

2011-11-29 Thread Mihamina Rakotomandimby
On 11/30/2011 01:11 AM, Peter wrote: I wrote a shell script Please would you show it? AFAIK, if Bash can do it, PHP should also... Thanks. -- RMA. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php