Re: [PHP] passing control to a separate script

2011-05-01 Thread tedd
At 9:17 PM -0400 5/1/11, Jim Giner wrote: I have a large script that does a certain function for me. I have a second script that gets called and does its thing and when I'm done with it I'd like to pass control to the first script. I don't need this 'included' in my second script - I just want

Re: [PHP] passing control to a separate script

2011-05-01 Thread Stuart Dallas
On Monday, 2 May 2011 at 02:44, Jim Giner wrote: No - I don't want to include either one in the other one. They are separate > things that interesect once. I really am just trying to do this separately > as I said. > > script1 > work > work > work > (done) > > script2 > do something > user resp

Re: [PHP] passing control to a separate script

2011-05-01 Thread Jim Giner
No - I don't want to include either one in the other one. They are separate things that interesect once. I really am just trying to do this separately as I said. script1 work work work (done) script2 do something user response do something (write data) execute script 1 (done. Script 2 doesn'

Re: [PHP] postgresql database access failure

2011-05-01 Thread David Robley
e-letter wrote: > The file was changed: > > ... $value=pg_fetch_result($query,1,1); > echo 'all files' . var_dump($value); > ... > > The resultant web page produces: > > bool(false) all files > > The php file was changed again: > > ... $value=pg_fetch_result($query); > ech

Re: [PHP] passing control to a separate script

2011-05-01 Thread Stuart Dallas
On Monday, 2 May 2011 at 02:17, Jim Giner wrote: I have a large script that does a certain function for me. I have a second > script that gets called and does its thing and when I'm done with it I'd > like to pass control to the first script. I don't need this 'included' in > my second script -

[PHP] passing control to a separate script

2011-05-01 Thread Jim Giner
I have a large script that does a certain function for me. I have a second script that gets called and does its thing and when I'm done with it I'd like to pass control to the first script. I don't need this 'included' in my second script - I just want to pass control to it and let it take ove

Re: [PHP] postgresql database access failure

2011-05-01 Thread e-letter
The file was changed: ... $value=pg_fetch_result($query,1,1); echo 'all files' . var_dump($value); ... The resultant web page produces: bool(false) all files The php file was changed again: ... $value=pg_fetch_result($query); echo 'all fi

Re: [PHP] postgresql database access failure

2011-05-01 Thread Ashley Sheridan
On Sun, 2011-05-01 at 09:24 +0100, e-letter wrote: > I looked at the error file located at '/var/log/httpd/error_log', > which identifies an error: > > ...Apache/2.2.6 (Mandriva Linux/PREFORK-8.2mdv2008.0) PHP/5.2.4 with > Suhosin-Patch mod_put/2.0.8 configured -- resuming normal > operations...

Re: [PHP] postgresql database access failure

2011-05-01 Thread e-letter
On 30/04/2011, Daniel Brown wrote: > Readers? Sounds like you spend too much time writing newsletters > (to the wrong address, since php-general-digest-h...@lists.php.net is > a self-help command list for digest-form subscriptions). ;-P > > On Sat, Apr 30, 2011 at 04:41, e-letter wrote: >>

[PHP] Re: dynamic copyright in page footer?

2011-05-01 Thread Walkinraven
On 04/30/2011 07:06 PM, David Mehler wrote: Hello, I am trying to use php to put a copyright notice in a page footer. I'm using the date function with the "Y" value for the year. Here's the code: This works great for a site done in 2011 but next year I'm going to want to have 2011 and 2012 in