Re: [PHP] Redirect output to a file on the web server

2010-12-06 Thread Ferdi
On 6 December 2010 20:47, Steve Staples wrote: > On Mon, 2010-12-06 at 20:29 +0530, Ferdi wrote: > > Greetings List members, > > > > I have a script that takes quite a while to run, one or two hours, I wish > to > > redirect the normal php output to a file on

[PHP] Redirect output to a file on the web server

2010-12-06 Thread Ferdi
he webserver? If not, at least to a file? Thanks and regards, Ferdi

[PHP] Re: Execute a php page and don't wait for it to finish

2010-11-03 Thread Ferdi
On 19 October 2010 18:50, Ferdi wrote: > Hi List, > > I have a php page that updates data from one database to another when it is > run. > My query is, how can I trigger the execution of this update page from > another php / javascript without the calling page having to wai

[PHP] Execute a php page and don't wait for it to finish

2010-10-19 Thread Ferdi
th/to/something.php > /dev/null &’, ‘r’)* **However, I need this to be usable on windows servers also. 3) Finally, would pcntl_exec, pcntl_fork, exec or something be useful for me? Which of the above 3 options is the better one? Other suggestions are welcome :) Thanks and Regards, Ferdi

Re: [PHP] PHP on command line -- mysql_connect error

2010-06-15 Thread Ferdi
On 14 June 2010 21:58, Ashley Sheridan wrote: > On Mon, 2010-06-14 at 21:36 +0530, Ferdi wrote: > > Hi list, > > My config is XAMPP 1.7.2 with PHP 5.3.0 > > I'm trying to run a php script as a cron job. The same script works > perfectly from the browser, but fails w

[PHP] PHP on command line -- mysql_connect error

2010-06-14 Thread Ferdi
the browser, fail on the command line. I tried setting extension=mysql.so in both the php.ini files (the one used by the web server and the one used by the command line (/etc/php.ini, correct??), though not simultaneously) Any pointers?? TIA Ferdi

[PHP] Email from php

2010-05-19 Thread Ferdi
onsidering the mail servers and all the back end. Thanks for taking the trouble to read! Regards, Ferdi