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

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

2011-11-29 Thread Tamara Temple
Jim Lucas 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 com

Re: [PHP] Auto CRUD Generator Xataface

2011-11-29 Thread Bastien Koert
On Tue, Nov 29, 2011 at 4:13 PM, Jim Lucas 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; php-gener

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 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] Auto CRUD Generator Xataface

2011-11-29 Thread Matijn Woudt
On Tue, Nov 29, 2011 at 9:54 PM, Daevid Vincent 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 > Micro$oft?!). All

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 wr

Re: [PHP] Auto CRUD Generator Xataface

2011-11-29 Thread Matijn Woudt
On Tue, Nov 29, 2011 at 9:44 PM, Daevid Vincent 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 nothing pisses

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" ema

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

2011-11-29 Thread Tamara Temple
Grega Leskovšek 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 when I upload to

[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] 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

Re: Re: [PHP] Class instance pointers

2011-11-29 Thread Tim Streater
On 29 Nov 2011 at 17:01, cimodev 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 >> $p

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 --

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

[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 unsubscrib

Re: [PHP] Auto CRUD Generator

2011-11-29 Thread Daniel Brown
On Sat, Nov 26, 2011 at 15:15, Muhammad Hassan Samee 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 database structure

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 name&password, check it, store a login=

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 name&password, check it, store a login=TRUE as php-session variable > and later use

[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] 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

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 array("pipe", "r"), 1 => array("pipe", "w"), ); $proc = "openssl ca -keyfile ca.key -cert ca.pem -revoke ".$userId.".pem"; // open process with bidirectional interaction $process = proc_open($pro

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

[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 wrote: > On Mon, Nov 28, 2011 at 5:51 AM, Tommy Pham 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 mysql functions directly with C

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 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 practical examples. Thanks!

[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 name&password, check it, store a login=TRUE as php-session variable and later use a common dbuser+pw to query data provided "login" is TRUE.