Re: [PHP] Is there a PHP based authentication library?

2013-04-02 Thread Nathan Nobbe
On Tue, Apr 2, 2013 at 3:35 PM, Mark wrote: > Hi Bastien, > > That is indeed getting very close to what i was looking for. Thanks a lot! > I've just finished up a project using simpleSamlPhp. http://simplesamlphp.org/ There's quite a few modules, but I've only used the SAML one, so YMMV. -nat

Re: [PHP] Is there a PHP based authentication library?

2013-04-02 Thread Mark
Hi Bastien, That is indeed getting very close to what i was looking for. Thanks a lot! On Tue, Apr 2, 2013 at 9:46 PM, Bastien wrote: > Check out > http://philsturgeon.co.uk/blog/2011/09/ninjauth-social-integration-php from > Phil sturgeon. > > Bastien Koert > > On 2013-04-02, at 3:41 PM, Mark

Re: [PHP] Is there a PHP based authentication library?

2013-04-02 Thread Bastien
Check out http://philsturgeon.co.uk/blog/2011/09/ninjauth-social-integration-php from Phil sturgeon. Bastien Koert On 2013-04-02, at 3:41 PM, Mark wrote: > Hi Andy, > > To be honest, that's also not what i'm looking for, but might be a > good starting point to extend on. Depends on how you

Re: [PHP] Is there a PHP based authentication library?

2013-04-02 Thread Mark
Hi Andy, To be honest, that's also not what i'm looking for, but might be a good starting point to extend on. Depends on how you made it :) I cant promise that i'ill be working on it. I might be for some future project in my company but it might very well not happen as well. On Tue, Apr 2, 2013 a

Re: [PHP] webform spam prevention

2013-04-02 Thread Sorin Badea
You can take a look at this article http://coding.smashingmagazine.com/2011/03/04/in-search-of-the-perfect-captcha/ On Tue, Apr 2, 2013 at 10:13 PM, Jen Rasmussen wrote: > Can someone recommend a best practice for blocking spam on web forms (aside > from captcha) ? > > > > I've been for the mos

FW: [PHP] webform spam prevention

2013-04-02 Thread Jen Rasmussen
Unfortunately, my research shows a lot of users have issues with captcha's, specifically recaptcha can be very difficult to read in most instances, and am looking for an alternative method. I do like the slider method on theymakeapps.com, I may take a look at that, thanks. Jen -Original Mes

[PHP] webform spam prevention

2013-04-02 Thread Jen Rasmussen
Can someone recommend a best practice for blocking spam on web forms (aside from captcha) ? I've been for the most part utilizing a honeypot method and then individually blocking IPs and am looking for a more efficient method that won't require daily maintenance. I've come across this mod

Re: [PHP] Set process custom identifier

2013-04-02 Thread Sorin Badea
I'm not storing the hashes, just generate them when starting the thread. I think that storing the thread pid in a local file (pids/threadx.pid) is the only way but I don't think is the best. Thanks anyway Stuard! On Tue, Apr 2, 2013 at 5:18 PM, Stuart Dallas wrote: > On 2 Apr 2013, at 15:11, So

Re: [PHP] {SOLVED] mysqli & nested queries - maybe I'm rusty...

2013-04-02 Thread Lester Caine
Jay Blanchard wrote: [snip] ...stuff... [/snip] I rewrote everything so that I could get the data in a single query and then performed some manipulation with PHP to get the proper output. No need to call multiple queries in this case, just had to sleep on it. In Firebird, CTE queries are great

Re: [PHP] Set process custom identifier

2013-04-02 Thread Stuart Dallas
On 2 Apr 2013, at 15:11, Sorin Badea wrote: > I'm trying to implement a standalone threading component, and in current > implementation I'm using `popen` to run a separate process with some > arguments that I'm using to identify them (for example `php > some_dummy_file.php -thread_id=`). This

Re: [PHP] Set process custom identifier

2013-04-02 Thread Sorin Badea
I'm trying to implement a standalone threading component, and in current implementation I'm using `popen` to run a separate process with some arguments that I'm using to identify them (for example `php some_dummy_file.php -thread_id=`). This way when I'm trying to see which are my threads I don't h

[PHP] Re: A relative date puzzle

2013-04-02 Thread Jim Giner
On 4/1/2013 2:05 PM, Jim Giner wrote: I'm looking for some ideas on how to handle the following get a datetime value that is relative to a specific future date when presented with a partial day &time value. Specifically, I have an appl that requires some lengthy input involving days and times.

Re: [PHP] Set process custom identifier

2013-04-02 Thread Stuart Dallas
On 2 Apr 2013, at 14:50, Sorin Badea wrote: > I don't want to wait for it and surely I don't want to safe that pid in > same place. I just want to use `ps` with a pattern to return my forked > process. Storing the PID of a process you need to monitor is the established method, and is certainly

Re: [PHP] {SOLVED] mysqli & nested queries - maybe I'm rusty...

2013-04-02 Thread Jay Blanchard
[snip] ...stuff... [/snip] I rewrote everything so that I could get the data in a single query and then performed some manipulation with PHP to get the proper output. No need to call multiple queries in this case, just had to sleep on it. -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] Set process custom identifier

2013-04-02 Thread Sorin Badea
I don't want to wait for it and surely I don't want to safe that pid in same place. I just want to use `ps` with a pattern to return my forked process. On Tue, Apr 2, 2013 at 4:48 PM, Matijn Woudt wrote: > Hi, > > pcntl_fork will return the pid of the fork, what is wrong with using that > pid t

Re: [PHP] Set process custom identifier

2013-04-02 Thread Matijn Woudt
Hi, pcntl_fork will return the pid of the fork, what is wrong with using that pid to identify the process? - Matijn On Tue, Apr 2, 2013 at 3:38 PM, Sorin Badea wrote: > Hi guys, > I'm trying to find a solution to identify a php process that is spawned > with pnctl_fork. I've tried to set a cu

[PHP] Set process custom identifier

2013-04-02 Thread Sorin Badea
Hi guys, I'm trying to find a solution to identify a php process that is spawned with pnctl_fork. I've tried to set a custom gid but this isn't viable because I have to run the parent proc with administrative permissions. I need to do this native without any pecl extensions. Is there a way to do th

Re: [PHP] mysqli & nested queries - maybe I'm rusty...

2013-04-02 Thread Jay Blanchard
Anyone? I have not been able to find a solution online. On 4/1/2013 11:33 AM, Jay Blanchard wrote: I am putting together an application where we are almost exclusively using stored procedures in MySQL because most of the heavy lifting (as it should be) is done in the database. I have exactly