Re: [nyphp-talk] APC for a custom PHP session handler

2009-03-24 Thread John Campbell
On Wed, Mar 25, 2009 at 12:03 AM, Steve Manes wrote: > John Campbell wrote: >> >> Don't do it.  It is either a solution to a problem you don't have, or >> the wrong solution.  APC has one datastore per server, which will be a >> disaster once you have more than 1 front end machine, or if you have

Re: [nyphp-talk] APC for a custom PHP session handler

2009-03-24 Thread Steve Manes
John Campbell wrote: Don't do it. It is either a solution to a problem you don't have, or the wrong solution. APC has one datastore per server, which will be a disaster once you have more than 1 front end machine, or if you have to restart the webserver then all your users will get logged out.

Re: [nyphp-talk] APC for a custom PHP session handler

2009-03-24 Thread John Campbell
Don't do it. It is either a solution to a problem you don't have, or the wrong solution. APC has one datastore per server, which will be a disaster once you have more than 1 front end machine, or if you have to restart the webserver then all your users will get logged out. What do you store in s

Re: [nyphp-talk] APC for a custom PHP session handler

2009-03-24 Thread Hans Zaunere
> Has anyone done this? I know that memcached can be used as an > alternative data store for PHP sessions but I don't recall anyone > trying this with APC. either works - memcached of course giving you distributed multi-server shared data easier than APC. H __

[nyphp-talk] APC for a custom PHP session handler

2009-03-24 Thread Steve Manes
Has anyone done this? I know that memcached can be used as an alternative data store for PHP sessions but I don't recall anyone trying this with APC. ___ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk

Re: [nyphp-talk] Connecting to an Oracle DB

2009-03-24 Thread Mutaz Musa
Check the configuration file path on phpinfo() and make sure you uncommented the right one. 2009/3/24 Néstor > oci8 > > I am trying to figure out where t downloaded from for php 5.2.5 > > > > > On Tue, Mar 24, 2009 at 4:37 PM, Ajai Khattri wrote: > >> On Tue, 24 Mar 2009, Néstor wrote: >> >> >

Re: [nyphp-talk] Connecting to an Oracle DB

2009-03-24 Thread Néstor
oci8 I am trying to figure out where t downloaded from for php 5.2.5 On Tue, Mar 24, 2009 at 4:37 PM, Ajai Khattri wrote: > On Tue, 24 Mar 2009, Néstor wrote: > > > I do not get it? > > > > YOu mean I have to install oci8.dll? from where? Pear? > > Im assuming since its not shown in phpinfo(

Re: [nyphp-talk] Connecting to an Oracle DB

2009-03-24 Thread Ajai Khattri
On Tue, 24 Mar 2009, Néstor wrote: > I do not get it? > > YOu mean I have to install oci8.dll? from where? Pear? Im assuming since its not shown in phpinfo() output then you either don't have it installed or PHP doesn't see it. Are you using OCI8 functions? Or using PDO..? -- Aj. ___

Re: [nyphp-talk] Connecting to an Oracle DB

2009-03-24 Thread Néstor
Ajai, I do not get it? YOu mean I have to install oci8.dll? from where? Pear? Thanks, :-) 2009/3/24 Ajai Khattri > On Tue, 24 Mar 2009, Néstor wrote: > > > NO! > > Yeah, there's your problem :-) > > > -- > Aj. > > ___ > New York PHP User Group Comm

Re: [nyphp-talk] Connecting to an Oracle DB

2009-03-24 Thread Ajai Khattri
On Tue, 24 Mar 2009, Néstor wrote: > NO! Yeah, there's your problem :-) -- Aj. ___ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/show_participation.php

Re: [nyphp-talk] Connecting to an Oracle DB

2009-03-24 Thread Néstor
NO! On Tue, Mar 24, 2009 at 2:00 PM, Ajai Khattri wrote: > On Tue, 24 Mar 2009, Néstor wrote: > > > I am trying to connect to an Oracle Database and when using the > > oci_connect() > > function, I get an error on my apache error_log file: > > PHP Warning: PHP Startup: Unable to load dynamic lib

Re: [nyphp-talk] Connecting to an Oracle DB

2009-03-24 Thread Ajai Khattri
On Tue, 24 Mar 2009, Néstor wrote: > I am trying to connect to an Oracle Database and when using the > oci_connect() > function, I get an error on my apache error_log file: > PHP Warning: PHP Startup: Unable to load dynamic library > 'c:\\php\\ext\\php_oci8.dll' - The specified > procedure could n

Re: [nyphp-talk] Remote php call

2009-03-24 Thread Fernando Gabrieli
dont forget the SSL options for cURL if you are using HTTPS best fernando 2009/3/24 > yeah i think curl is probably the best way. plus i'm not sure if you > have control over the service your calling, but if you do you can make it > only reply to post requests, set authentification to the pos

Re: [nyphp-talk] Connecting to an Oracle DB

2009-03-24 Thread Néstor
Oracle 10G On Tue, Mar 24, 2009 at 11:31 AM, Néstor wrote: > Hi, > > System = W2K / apache 2.055 / php 5.25 / mysql 5.0.18-nt > > I am trying to connect to an Oracle Database and when using the > oci_connect() > function, I get an error on my apache error_log file: > PHP Warning: PHP Startup: Un

[nyphp-talk] Connecting to an Oracle DB

2009-03-24 Thread Néstor
Hi, System = W2K / apache 2.055 / php 5.25 / mysql 5.0.18-nt I am trying to connect to an Oracle Database and when using the oci_connect() function, I get an error on my apache error_log file: PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\php\\ext\\php_oci8.dll' - The specified pr

Re: [nyphp-talk] Remote php call

2009-03-24 Thread y2rob
yeah i think curl is probably the best way.  plus i'm not sure if you have control over the service your calling, but if you do you can make it only reply to post requests, set authentification to the post request and other stuff to prevent malicious attacks.  there are options for ssl authent

Re: [nyphp-talk] Remote php call

2009-03-24 Thread Brent Baisley
Curl is the better way to go, but if you just need to hit a page on another server you can use file_get_contents("http://domain.com/script.php?param=a";); file_get_contents doesn't handle errors, failures, redirects, timeouts, etc. very well, which is why curl is better. But in a pinch, file_get_c

Re: [nyphp-talk] Remote php call

2009-03-24 Thread Artur Marnik
If you don't need to POST anything you can as well do fopen() http://us3.php.net/manual/en/function.fopen.php but with safe_mode or allow_url_fopen disabled on the server it won't work Artur On Mar 23, 2009, at 8:53 PM, "Michele Waldman" > wrote: If I want to