Re: [PHP] PHP Dependency Injector

2013-09-05 Thread Sorin Badea
mail.com> wrote: > Sorry guys if disturbed. > > > 2013/9/5 Bastien Koert > >> Jee, that should have been a friday comment..."how does your dic standout" >> >> >> On Thu, Sep 5, 2013 at 4:06 PM, Sorin Badea wrote: >> >>> There are

Re: [PHP] PHP Dependency Injector

2013-09-05 Thread Sorin Badea
made for me. > > https://github.com/abloos/Sofia > > Regards > > -- > Facebook: www.facebook.com/JuanSebastianScatularo > Twitter: www.twitter.com/js_scatularo > Web: www.sebastianscatularo.com.ar > -- Sorin Badea - Software Engineer

Re: [PHP] exec and system do not work

2013-08-25 Thread Sorin Badea
t;exec("chmod 766 /var/www/orders.txt"); >echo 'file2'; >echo file_exists("/var/www/orders.**txt"); > } > > Ethan > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Sorin Badea - Software Engineer

Re: [PHP] Empty $_POST after submit.

2013-04-04 Thread Sorin Badea
I've tried the same code on a instance with fedora 17 and php 5.4.13. It seems to work fine. Can you provide us a link with the url to your page ? On 04/04/2013 01:59 PM, Ninad wrote: yes you are right On 04/04/2013 04:23 PM, Sorin Badea wrote: So you have a single php file wit

Re: [PHP] Empty $_POST after submit.

2013-04-04 Thread Sorin Badea
So you have a single php file with the code from the first email and the $_POST var is empty. Am I right ? On Thu, Apr 4, 2013 at 1:49 PM, Ninad wrote: > Hi, > > I am using httpd as a web server with default configuration. > > Regards, > Ninad. > > > On 04/04/2013

Re: [PHP] Empty $_POST after submit.

2013-04-04 Thread Sorin Badea
result is same --- no output.. > > $postdata = file_get_contents('php://input'); > var_dump($postdata); > var_dump($_POST); > > Regards, > Ninad. > > > On 04/04/2013 03:50 PM, Sorin Badea wrote: > > Hi, > Did you tried a print_r($_POST) or a var_dump

Re: [PHP] Empty $_POST after submit.

2013-04-04 Thread Sorin Badea
Hi, Did you tried a print_r($_POST) or a var_dump ? On Thu, Apr 4, 2013 at 1:10 PM, Ninad wrote: > Dear all, > > I am having 2 servers. One is running fedora 10 with php 5.2.6-5 and > second one is running > fedora17 with php 5.4.13. > Below given code is working absolutely fine on fedora10 wit

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

Re: [PHP] Set process custom identifier

2013-04-02 Thread Sorin Badea
013, 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 -thre

Re: [PHP] Set process custom identifier

2013-04-02 Thread Sorin Badea
e my threads I don't have to check every stored pid and see if they are still up. On Tue, Apr 2, 2013 at 5:02 PM, Stuart Dallas wrote: > 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 p

Re: [PHP] Set process custom identifier

2013-04-02 Thread Sorin Badea
th 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 custo

[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] Is there a PHP based authentication library?

2013-04-01 Thread Sorin Badea
Hi Mark, I think a simple Google search would be faster. Anyway, an unified way for 3rd party authentication doesn't exist from my knowledge, but for Persona you could use the sample from mozilla github account https://github.com/mozilla/browserid-cookbook . Good luck, Sorin! On Tue, Apr 2, 2013

Re: [PHP] Re: 4/1/2013 3:46:37 AM

2013-03-31 Thread Sorin Badea
No spam filters for this list ? On Mon, Apr 1, 2013 at 5:46 AM, Adil Adil wrote: > http://www.siamphotographer.com/clvrcng/nikoffbkvvnjjcgwapmay.xmhpwcbrd -- Badea Sorin (unu.sorin) sorin.bade...@gmail.com unu_so...@yahoo.com Pagina personala: http://badeasorin.com

Re: [PHP] __autoload not work in cgi?

2013-03-27 Thread Sorin Badea
__autoload is kinda old. It allows you a single autoload callback and so on. You can google on this topic to find more details . Sorin! On 03/27/2013 04:40 PM, Radek Krejča wrote: spl_autoload_register is working. Thank you. So - __autoload isnt already supported? Radek Did you tried with

Re: [PHP] __autoload not work in cgi?

2013-03-27 Thread Sorin Badea
Did you tried with spl_autoload_register ? http://php.net/manual/en/function.spl-autoload-register.php Kind regards, Sorin! On Wed, Mar 27, 2013 at 4:28 PM, Radek Krejča wrote: > Hello, > > I have installed lighttp with php support. It looks like, that function > __autoload doesnt work in cgi mo

Re: [PHP] Re: MOSSCon in Louisville in May! Submit your proposal this week!

2013-03-27 Thread Sorin Badea
You can unsubscribe. On Wed, Mar 27, 2013 at 3:07 PM, Jim Giner wrote: > On 3/27/2013 3:35 AM, John List wrote: > >> Preparations are in full swing for the very first Midwest Open Source >> Software Conference (MOSSCon), to be held in Louisville on May 18-19. >> Your help in spreading the word an