Re: [PHP] Re: Command line output

2003-11-19 Thread Curt Zirzow
* Thus wrote Shawn McKenzie ([EMAIL PROTECTED]):
> Guess no ones has a clue.  I didnt get a RTFM or anything.

Try running php like so:

php -doutput_buffering=0 phpfile.php


Curt
-- 
"My PHP key is worn out"

  PHP List stats since 1997: 
http://zirzow.dyndns.org/html/mlists/

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



Re: [PHP] Re: Command line output

2003-11-18 Thread Jason Wong
On Wednesday 19 November 2003 06:54, Shawn McKenzie wrote:
> hey great thanks :(
>
> "Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>
> > O.K.  I am just now experimenting with the CLI PHP and have another
> > question.  With the following code, none of the echo output is seen until
> > the script completes.  I even tried adding a flush() after the first echo
> > before the imap_open, but still the same behavior.  Any ideas?
> >
> > echo "Connecting to $server: $mbox ...\n\n";
> > $conn = imap_open("{" . $server . ":143/notls/norsh}" . $mbox, $user,
> > $pass);
> >
> > echo "Receiving messages ...\n\n";
> > for ($i = 1; $i <= imap_num_msg($conn); $i++) {
> > ...etc...
> >
> > Thanks!
> > -Shawn

Sorry to butt in and disrupt the conversation that you're having with yourself 
and evidently enjoying, try disabling "output_buffering" in php.ini.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
"My father?  My father left when I was quite young.  Well actually, he
 was asked to leave.  He had trouble metabolizing alcohol."
 -- George Carlin
*/

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



Re: [PHP] Re: Command Line

2002-08-27 Thread Adam Williams

if you just wanna delete everything from the tables you can do

DELETE FROM table_name;

for each table.  or you can do DROP table_name; for each one but then you
have to re-create each table that you drop with CREATe TABLE ( stuff here
);

Only use DROP table_name; if you know the structure of each table.  If you
need the table names do SHOW TABLES; and if you need their structure use
DESCRIBE table_name;

Adam

On Wed, 28 Aug 2002, Trevor Tregoweth wrote:

> Hi
>
> I am very new to mysql, so any help please
>
> how to drop tables from a database from the command line
>
> i have 6 tables in there, and need to be able to flush all the data out, (of
> 2 tables only) so there might be another way
>
> Thanks
>
> Trevor
>
>
>


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