Re: [PHP-DB] Script 'hanging' for a long time before exit

2007-05-17 Thread Chris



$ php plot_graph.php 2; date
16:27:59: Script Starting
16:27:59: executing Query
16:28:01: Number of results:53068
16:28:01: Fetching Results
16:28:03: Freeing result set
16:28:03: Closing DB connection
16:28:03: Done
16:28:03: Exiting
Thu May 10 16:28:22 BST 2007


Looks like this is the only one you need to worry about.

Does it happen consistently (ie every time) ? Maybe the server was under 
load and it took a while to release the resources or something.


If it does happen consistently maybe you can use gdb or something to 
work out what/where/why.


--
Postgresql  php tutorials
http://www.designmagick.com/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Script to control mysql users?

2002-08-29 Thread Adam Williams

read mysql.com's documentation on the GRANT command.  Or install
phpmyadmin and use that.

Adam

On Thu, 29 Aug 2002, Leif K-Brooks wrote:

 I need to add mysql users to some databases, but my dumb control panel
 (ensim) doesn't seem to have a feature to do that, and I'm nothing in
 the mysql database.  Does anyone have a script to let me add them
 automaticly if I supply it with the root password?





-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP-DB] Script

2001-09-30 Thread Dave Watkinson

Alternatively if you're using Windows you can write a batch file and use
AT to set it to run as often as you like.

Just include the path to PHP.exe and the path to the PHP file in the
batch file, like this...

D:\PHP\PHP.exe D:\Scripts\email_sender.php


HTH!


Dave


-Original Message-
From: Ashley M. Kirchner [mailto:[EMAIL PROTECTED]]
Sent: 30 September 2001 04:53
To: PHP-DB List
Subject: Re: [PHP-DB] Script


Hector Gonzalez wrote:

 Hi, is there anyway to execute an script with no client intervension?,
for example,, i want to make a mailist, with a database,, it'll chek for
mail in an address and send email to the ones the are in the database,,
is there anyway to do this automatically?

Um, why?  There are programs specifically designed to do mailing
lists for you.  Mailman is one of those.
(http://www.gnu.org/software/mailman/mailman.html)

--
H | Life is the art of drawing without an eraser. - John Gardner
  +
  Ashley M. Kirchner mailto:[EMAIL PROTECTED]   .   303.442.6410 x130
  Director of Internet Operations / SysAdmin. 800.441.3873 x130
  Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave, #6
  http://www.pcraft.com . .  ..   Boulder, CO 80303, U.S.A.



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]